View Single Post
  #1  
Old 11-01-2012, 04:25 PM
mrxUx mrxUx is offline
Member
 
Join Date: Jul 2012
Posts: 23
Default [solved] htaccess and gzip

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

Code:
<FilesMatch "(\.html\.gz|\.css\.gz)$">
Header set Content-Encoding "gzip"
</FilesMatch>
Anyone can bring some light or smack me?

Last edited by NiteWave; 11-06-2012 at 07:18 PM..
Reply With Quote