The following directive is in htaccess in domain/cached, it works in apache but seems to be ignored in litespeed.
<FilesMatch "\.(php)$">
Header set Cache-Control "max-age=31536000, public"
</FilesMatch>
When placed in the domain directory htaccess, it is applied, but then it is applied to all sub-directories.
What is the difference between litespeed & apache for this?
Edit:
I have been told by my hosting service that litespeed does not support htaccess in sub-folders.
Is this true? How do you set caching for different directories?
<FilesMatch "\.(php)$">
Header set Cache-Control "max-age=31536000, public"
</FilesMatch>
When placed in the domain directory htaccess, it is applied, but then it is applied to all sub-directories.
What is the difference between litespeed & apache for this?
Edit:
I have been told by my hosting service that litespeed does not support htaccess in sub-folders.
Is this true? How do you set caching for different directories?
Last edited: