GZIP does not work for some files.
-
Hi. In chrome dev tools, Network tab, when I click on file it shows headers and info about GZIP. So I can see that some files are GZIP compressed, but some not! All files that were not compressed are JavaScript files. Eventhough some other JS files were compressed.
For example this file was not compressed: /themes/deck/js/jquery.flexslider-min.js.My .htaccess file:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript # END WordPress
How do I fix this?
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘GZIP does not work for some files.’ is closed to new replies.