Wordpress LScache Plugin: lscache without plugin
Last Updated on: Wed, 15 Apr 2026 00:00:02 I have some non WordPRess sites so I cannot use plugins, so how can I take advantage of lscache? I have checked your docs, and it only gives advice to enable caching, which I have done CacheEnable public / But this is making no difference to the site performance. How can I also use the other features, like minification etc? actually, using the above directive to enable caching actually make the performance of the site worse. Hi, without plugin , you can only get the basic caching , and that line alone wont work you will need something like RewriteRule . - [E=Cache-Control:max-age=600] to designate the URIs to be cached and TTL and you can check the HTTP response header to make sure you see the cache hit you need to take in mind to exclude something that should not be cached, like wp-admin , my-account, checkout and cart ?etc its better to use plugin to cache it Best regards, I cannot use a plugin as there is no plugin available. I am not using WordPRess. okay , then I guess rewrite rule is the only way if its not supported CMS here is some more example so what I am not clear on is whether I have to use CacheEnable public / as well as RewriteRule . ? [E=cache-control:max-age=300] you need to enable both first line is to tell server to enable cache engine second line is to tell server , which URL to cache , and how long to cache. I used this, but again, it has mad ethe performance worse, quite a lot worse. CacheEnable public / RewriteEngine On RewriteRule . - [E=cache-control:max-age=14400] thats weird this directive only takes effect AFTER the page is cached please check by http response header , to see if cache worked , and what is your webserver? the response headers show x-litespeed-cache: hit x-turbo-charged-by: LiteSpeed its litespeed webserver, obviously whats TTFB on main request with and without cache? here is the gtmetrix scores https://gtmetrix.com/reports/kopage.uk/AdUaOY75/ While the gtmetrix score for the site is obviously great without lscache, the pagespeed insight score are not. Thus why I am looking to make improvements. pagespeed insights is not giving me a TTFB https://pagespeed.web.dev/report?url=https%3A%2F%2Fkopage.uk%2F&form_factor=mobile no , cache itself doesnt optimize the page structure or its content , it just cache the output I know, but if caching actually makes the page slower, whats the point? Please give me a GTMetrix report with cache hit
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference