Wordpress LScache Plugin: If on LiteSpeed Server (w free CF) ? Can I just use default Settings?
Last Updated on: Wed, 15 Apr 2026 00:00:02 My websites are all hosted on a web server that uses LiteSpeed so naturally, I chose to use this as my caching plugin. All of my websites also use the FREE plan at Cloudflare, and they are all built using Divi theme. Question 1: Can I leave all settings to their installation defaults? Also, Ive noticed in the Advanced View there is a toggle for Cloudflare but by default it is set to OFF. Question 2: Not sure if the CDN toggle should be turned ON for the free Cloudflare plan as apparently its not a real CDN but more of a proxy? Documentation seems to say No. This topic was modified 4 years, 5 months ago by metrosuperstar. This topic was modified 4 years, 5 months ago by metrosuperstar. This topic was modified 4 years, 5 months ago by metrosuperstar. This topic was modified 4 years, 5 months ago by metrosuperstar. This topic was modified 4 years, 5 months ago by metrosuperstar. This topic was modified 4 years, 5 months ago by metrosuperstar. This topic was modified 4 years, 5 months ago by metrosuperstar. This topic was modified 4 years, 5 months ago by metrosuperstar. This topic was modified 4 years, 5 months ago by metrosuperstar. Hi, Q1, yes , you can leave it as default if you wish. Q2, if you are on CF, then CDN option should be off, technically CF is CDN , just a different type of CDN. Default is off because it requires you to input your CF data , which is no way to obtain it by default , as you have to manually input these datas , so naturally , its OFF Please let us know if you have any further questions. Best regards, Thanks for your response. Im investigating why GMetrix is giving my sites a F grade for Avoid landing page redirects and Im hoping there is something I can adjust in LiteSpeed Cache to fix this issue? GTMetrix is basically saying Avoid landing page redirects for the following chain of redirected URLs. http://mydomain.com/ https://mydomain.com/ https://www.mydomain.com/ Hi, Its because you have to many redirect in your case , from HTTP to HTTPS , and then from non-www to www redirect. try combine them into single redirect. try with this rewrite rule. RewriteEngine On RewriteCond % HTTPS off [OR] RewriteCond % HTTP_HOST !^www. RewriteRule ^(. )$ https://www.you-domain.com/$1 [R=301,L] and also remember to set WP URL to https://www. You could also , to test on your FINAL domain, so you can see the result without these redirection in place. and as long as its 301 redirect , google or any search engine , will use that final domain. Best regards, the WP URL is already set to https://www. do i add your code to line 1 of the htaccess file (just before # BEGIN LSCACHE) ? Hi, Yes , but remove any other redirect rules , otherwise you may have redirect loop Best regards, OMG, you just helped me solve an issue that was plaguing all my websites for weeks and nobody had been able to fix this with me! After dropping your code in my htaccess, I noticed the score improved from 32 to 98. But after you said to remove any other redirect rules, I went into Cloudflare and disabled Always Use HTTPS and my score reached a perfect 100. I then decided to remove the code you gave me from my htaccess and the score remained at 100. Turns out that adding thore rewrites to my htaccess wasnt necessary after all. I just had to disable the Always Use HTTPS feature in Cloudflare. I guess if I wasnt using CF, then they might be necessary, but for now they are not so I removed them from the htaccess to keep that file cleaner. Glad to know Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference