Hello there, I've a question about how compression works with LSWS, I have it activated and dynamic too, however it looks like it is only compressing php files and nothing else.
For example if I try to go to http://mysite.com/page.php I'll see the header Content-Encoding gzip , gut if I reach the file http://mysite.com/style.css the header doesn't even appear and of course is not being compressed.
Is this how it works? do LSWS only compress elements that are being called by a PHP?
On the compression types I have: text/*
Also I have tried to tweak .htaccess without success
Anyone can bring some light or smack me?
For example if I try to go to http://mysite.com/page.php I'll see the header Content-Encoding gzip , gut if I reach the file http://mysite.com/style.css the header doesn't even appear and of course is not being compressed.
Is this how it works? do LSWS only compress elements that are being called by a PHP?
On the compression types I have: text/*
Also I have tried to tweak .htaccess without success
Code:
<FilesMatch "(\.html\.gz|\.css\.gz)$">
Header set Content-Encoding "gzip"
</FilesMatch>
Last edited by a moderator: