I am attempting to accelerate my Magento store and also have lately enabled Gzip compression. The issue is, i additionally make use of the Magento in-built function that merges all CSS and JS files together for everyone just one apply for each.

The Gzip doesn't compress individuals files &lifier as this is Magento, individuals files are enormous and decelerate the website considerably.

Anything i'm able to do this Gzip will even compress individuals files? They're situated in /media/js/ and /media/css/

Edit: using mod_deflate, at this time i've it set for this:

<IfModule mod_deflate.c>

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
AddOutputFilterByType DEFLATE application/xml application/xhtml+xml application/rss+xml
AddOutputFilterByType DEFLATE application/javascript application/x-javascript
AddOutputFilterByType DEFLATE application/x-httpd-php

BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html

SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.(?:pdf|doc)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.(?:avi|mov|mp3|mp4|rm)$ no-gzip dont-vary

When Magento merges any CSS and Javascript files that go through its rendering system, it'll create Web addresses for individuals resource such as this, and add these to the mind from the page


consequently, this can generate files around the filesystem


At this time, Magento is taken away in the process almost completely (there is a RewriteCond %{REQUEST_URI} !^/(media|skin|js)/ in .htaccess to trap non-existant files). It may sound as if you have gzip compression setup properly for other parts of the website. So, however you've set up other folders for gzip compression, configure media/css and media/js to complete exactly the same.

Without more details, you can't really debug the body further.