How to Cache Single Pages of a Website using LSCache

sahith

Well-Known Member
#1
I would like to cache only home pages of some of our websites. Is that possible? i mean i need to cache home page of www.examplesite.com and rest of the pages should not be cached.

May i know that works, through .htaccess ? If yes please give me rules.

Thank you,
 

NiteWave

Administrator
#2
RewriteEngine On

RewriteRule .* - [E=Cache-Control:no-cache]
RewriteRule ^$ - [E=Cache-Control:max-age=600]
 
Last edited by a moderator:
Top