RewriteRule (.*) - [L,E=Cache-Control:max-age=120]
Under Litespeed Server.
Please, Help.
RewriteRule (.*) - [L,E=Cache-Control:max-age=120]
########## Begin - Rules for LSWS cache
RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
RewriteCond %{ORG_REQ_URI} (\.php|\.css|\.js|\.txt|\.xml|\.bmp|\.gif|\.jpg|\.jpeg|\.pdf|\.png|\.swf|\.zip|\.rar|\.exe|\.doc|\.xls|\.ico|\.tiff|\.tif|\.woff|\.ttf|\.otf|\.eot|\.svg|/[^.]*)$ [NC]
RewriteRule .* - [E=Cache-Control:max-age=3600,L]
########## End - Rules for LSWS cache
I think vps.net cloud sites doesn't have.Hello,
do you have Litespeed with cache inbuilt? (2 + cpu license)
If yes, you can follow this instructions to enable Litespeed Cache function:
http://www.litespeedtech.com/support/forum/showthread.php?t=4719
We use essential cookies to make this site work, and optional cookies to enhance your experience.