Disable Litespeed cache on shared hosting

14 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

About the Author: Toc Xoan

This guy likes taking photos, hunting cheap tours, exploring the unique culture of every cities of Vietnam. Contact: [email protected]