Disable Litespeed cache on shared hosting

107 Likes Comment

LSCache provides excellent improved performance by caching website content. But I sometime need to run another caching solution. So today I will tell you how to disable LScache on a specified domain.

Modify your .htaccess file on the root folder of your website domain

RewriteEngine On
RewriteRule .* - [E=Cache-Control:no-cache]

Add these two lines and save .htaccess file. That’s all. Have fun.

You might like

Avatar

About the Author: Toc Xoan

Leave a Reply

Your email address will not be published. Required fields are marked *