Wordpress LScache Plugin: Serve Static Assets w/ Efficient Cache Policy
Last Updated on: Wed, 15 Apr 2026 00:00:02 I have a number of errors coming up on this PageSpeed report, and Im 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 1 year, 4 months ago by krlgroupfl. The page I need help with: https://ThinkSafeInsurance.com please check this page Thanks for the message, and it looks straightforward, but I cant access the WebAdmin. Im using LiteSpeed w/ Runcloud and Vultr. Heres 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 Im not sure if those were correct. 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, 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 Ill address that later.) Now Im 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. https://docs.litespeedtech.com/lscache/lscwp/troubleshoot/#unable-to-save-changes-in-wp-admin have you checked this? I did, but I wasnt clear on where to go. I used a Firefox tab that wasnt 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 its not coming from the plug-in, but is being cached. Thats why Im 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! Whats full response header on wp-admin area? 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 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 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
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference