Excluding wp-admin page?
-
I am use this code for leverage browser caching. https://www.keycdn.com/support/cache-control
litespeed
<filesMatch “.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$”>
Header set Cache-Control “max-age=84600, public”
</filesMatch>But this is a problem. Because I can’t save the settings. I can’t see the changes.
How can I exclude cache for admin?
I can try
<filesMatch “.(ico|pdf|flv|jpg|svg|jpeg|png|gif|js|css|swf)$”>
Header set Cache-Control “max-age=604800, must-revalidate” “expr=%{REQUEST_URI} !~ m#^/wp-admin#”
</filesMatch>but this code didn’t work. I don’t know why you can’t add this feature, but help me please. thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Excluding wp-admin page?’ is closed to new replies.