Magento Forum

   
Gzipping the CSS and JSS files? 
 
Crucial
Enthusiast
 
Avatar
Total Posts:  770
Joined:  2007-11-07
Phoenix, AZ
 

I came across this article on Digg and wondered if Magento should implement something like this:

http://kaioa.com/node/78/

Thoughts?

 
Magento Community Magento Community
Magento Community
Magento Community
 
srinigenie
Guru
 
Avatar
Total Posts:  539
Joined:  2008-02-04
 

Magento already has the capability to do this - only need to enable gzip in .htaccess

http://www.magentocommerce.com/boards/viewthread/7100/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Crucial
Enthusiast
 
Avatar
Total Posts:  770
Joined:  2007-11-07
Phoenix, AZ
 

I don’t think that’s the same thing though. I’ve always enabled mod_deflate in .htaccess, but the URL I posted is actually saving CSS and JavaScript files with the .js.gz and .css.gz extension. It’s compressing it and serving it compressed all the time, and the compression is only happening once. Whereas, with mod_deflate, it still has to call the uncompressed file, compress it, and then serve it.

See what I’m saying?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top