• Resolved krlgroupfl

    (@krlgroupfl)


    I have a number of errors coming up on this PageSpeed report, and I’m not sure where to track down these settings. It seems like many are coming from Slider plug-ins and UserWay from what I can tell. I sent a report AZGOOAAT

    …config/170…?v=2.9.43&r=stable(connect.facebook.net) 20 m
    /en_US/fbevents.js(connect.facebook.net) 20 m
    /widget.js(cdn.userway.org) 1 h
    …12/Think-Safe-Insurance-Florida-insurance-independent-ns….webp(thinksafeinsurance.com)
    12 h
    …cssjs/afa88.js?ea7f4(thinksafeinsurance.com) 12 h
    …jquery/jquery.min.js?ver=3.6.0(thinksafeinsurance.com) 12 h
    …cssjs/c0ef9.css?18052(thinksafeinsurance.com) 12 h
    …images/ajax-loader.gif(thinksafeinsurance.com) 12 h
    …07/Think-Saf….jpg.webp(thinksafeinsurance.com) 12 h
    …12/Think-Saf….jpg.webp(thinksafeinsurance.com) 12 h
    …12/Florida-P….jpg.webp(thinksafeinsurance.com) 12 h
    …12/Think-Safe-Insurance-LLC-Mercury-Insurance-Authorized-….webp(thinksafeinsurance.com) 12 h
    …12/Think-Saf….jpg.webp(thinksafeinsurance.com) 12 h
    …12/Think-Saf….jpg.webp(thinksafeinsurance.com) 12 h
    …12/Think-Saf….jpg.webp(thinksafeinsurance.com) 12 h
    …12/Fed-Nat-I….jpg.webp(thinksafeinsurance.com) 12 h
    …js/instant_click.min.js?ver=3.6.4(thinksafeinsurance.com) 12 h
    …images/paper-plane.svg(thinksafeinsurance.com) 12 h
    …images/search.svg(thinksafeinsurance.com) 12 h
    …images/arrow.svg(thinksafeinsurance.com) 12 h
    …2021-07-22/widget_app_base_162….js(cdn.userway.org) 30 d
    …images/spin_wh.svg(cdn.userway.org) 30 d
    …images/body_wh.svg(cdn.userway.org) 30 d

    • This topic was modified 3 years, 8 months ago by krlgroupfl.

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please check this page

    Thread Starter krlgroupfl

    (@krlgroupfl)

    Thanks for the message, and it looks straightforward, but I can’t access the WebAdmin. I’m using LiteSpeed w/ Runcloud and Vultr. Here’s what I did so far:

    – I created a rich rule in Runcloud to accept my ip on the 7080 port
    – I received “Your Connection is not Private” error
    – I changed HSTS to allow http and then I got 404 error.

    I changed these settings back since I’m not sure if those were correct.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    well , I am not particularly familiar with RunCloud setup , please contact them for further assistance on how to set up custom header over their setup

    Best regards,

    Thread Starter krlgroupfl

    (@krlgroupfl)

    Thanks for the message. I did contact RunCloud and they set it up which resolved the Pagespeed messages for the most part. (One plugin still had messages but I’ll address that later.) Now I’m having an issue where wp-admin seems like it may be caching. Updates sometimes reappear, plugins reactivate, etc. Here is the thread of what they did:

    https://manage.runcloud.io/support/tickets/55952

    Did they miss this part and could that be causing it?
    exp:^.*(css|gif|ico|jpeg|jpg|js|png|webp|woff|woff2|fon|fot|ttf)$

    Or is there something else that could be causing it? I think I saw some questions about object cache and I do have object cache on if that is important.

    Plugin Support qtwrk

    (@qtwrk)

    Thread Starter krlgroupfl

    (@krlgroupfl)

    I did, but I wasn’t clear on where to go. I used a Firefox tab that wasn’t logged in. Then I did log in and found this:

    cache-control: public, max-age=15552000
    content-encoding: gzip
    content-length: 27351
    content-type: text/html; charset=UTF-8
    date: Thu, 05 Aug 2021 20:51:41 GMT
    expires: Wed, 11 Jan 1984 05:00:00 GMT`

    Then further down:

    x-litespeed-cache-control: no-cache

    I think that means it’s not coming from the plug-in, but is being cached. That’s why I’m wondering if it came from the LiteSpeed Config that RunCloud did in the prior thread. It looks like the custom header page, and here is what they input in LiteSpeed Config:

    unset Cache-control
    set Cache-control public, max-age=15552000
    set Access-Control-Allow-Origin: *
    
       END_extraHeaders

    Thanks for your help so far!

    Plugin Support qtwrk

    (@qtwrk)

    What’s full response header on wp-admin area?

    Thread Starter krlgroupfl

    (@krlgroupfl)

    access-control-allow-origin: *
    alt-svc: h3-34=”:443″; ma=2592000, h3-29=”:443″; ma=2592000, h3-Q050=”:443″; ma=2592000, h3-Q046=”:443″; ma=2592000, h3-Q043=”:443″; ma=2592000, quic=”:443″; ma=2592000; v=”43,46″
    cache-control: public, max-age=15552000
    content-encoding: gzip
    content-type: text/html; charset=UTF-8
    date: Thu, 05 Aug 2021 21:12:42 GMT
    expires: Wed, 11 Jan 1984 05:00:00 GMT
    referrer-policy: strict-origin-when-cross-origin
    server: LiteSpeed
    strict-transport-security: max-age=15552000
    vary: Accept-Encoding
    X-Firefox-Spdy: h2
    x-frame-options: SAMEORIGIN
    x-litespeed-cache-control: no-cache

    Plugin Support qtwrk

    (@qtwrk)

    cache-control: public, max-age=15552000

    this is the issue , you need to get rid of it

    you can try change your context max-age to 15552001 , see if it was causing it

    Thread Starter krlgroupfl

    (@krlgroupfl)

    Thanks qtwrk, so that did update it to 15552001. So this is coming from the code that RunCloud put in trying to address this: https://openlitespeed.org/kb/how-to-set-up-custom-headers/

    Is there different code that I need for custom headers? Here is the last part of my OpenLiteSpeed Config. (I just lengthened the expiresByType.)

    expires {
      enableExpires           1
      expiresByType          text/css=A15552000, image/gif=A15552000, image/x-icon=A15552000, image/jpeg=A15552000, application/x-javascript=A15552000, text/javascript=A15552000, application/javascript=A15552000, image/png=A15552000, image/webp=A15552000, font/ttf=A15552000, font/woff=A15552000, font/woff2=A15552000, application/x-font-ttf=A15552000, application/x-font-woff=A15552000, application/font-woff=A15552000, application/font-woff2=A15552000
    }
    context / {
    
      extraHeaders            <<<END_extraHeaders
    unset Cache-control
    set Cache-control public, max-age=15552001
    set Access-Control-Allow-Origin: *
    
       END_extraHeaders
    }
    Plugin Support qtwrk

    (@qtwrk)

    you mean if you change it to 15552001 , the header on wp-admin also changes to 15552001 ?

    if that so , this indicate something wrong on your context

    exp:^.*(css|gif|ico|jpeg|jpg|js|png|webp|woff|woff2|fon|fot|ttf)$

    this should only apply to the URIs that ends in these extension.

    Thread Starter krlgroupfl

    (@krlgroupfl)

    Yes the header did change. I figured that was probably the issue. I’ll contact RunCloud again and see if they have a suggestion unless you have any additional info on where that should be.

    Plugin Support qtwrk

    (@qtwrk)

    No , I don’t have anything additional to add…

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I’m going to mark this topic “Resolved”, due to lack of activity.

    If you still need help, please feel free to re-open it.

    When re-open it, please also change the topic status to “not solved”

    Best regards,

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Serve Static Assets w/ Efficient Cache Policy’ is closed to new replies.