[Resolved] Litespeed cache not obeying E=Cache-Control:no-cache

Status
Not open for further replies.

sahith

Well-Known Member
#1
At present i am caching whole website using .htacces with code
Apache config:
RewriteRule ^(.*)$ - [E=Cache-Control:max-age=3600]
And i dont want to cache a specific page called http://www.mydomain.com/random_page.html
so i used following code
Apache config:
RewriteRule /random_page.html - [E=Cache-Control:no-cache]
But that page is still being cached, Please guide me.
 
Last edited by a moderator:

Pong

Administrator
Staff member
#2
should remove / before random_page.html
Apache config:
  RewriteRule ^(.*)$ - [E=Cache-Control:max-age=3600]
  RewriteRule random_page.html - [E=Cache-Control:no-cache]
 
Last edited by a moderator:
Status
Not open for further replies.
Top