Next Webinar: Maximizing Magento - Get the Most out of Promotions. Register Today!

Magento

Open Source eCommerce Evolved

Magento Forum

   
Gzipping the CSS and JSS files? 
 
Crucial
Guru
 
Avatar
Total Posts:  496
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?

 Signature 

Crucial Web Hosting
We provide hosting for Magento in shared, semi-dedicated, and dedicated configurations.
Our Containers include free features like Magento support from Varien, SSL certificate, McAfee Secure, and hourly backups.

 
Magento Community Magento Community
Magento Community
Magento Community
 
srinigenie
Guru
 
Avatar
Total Posts:  396
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
Guru
 
Avatar
Total Posts:  496
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?

 Signature 

Crucial Web Hosting
We provide hosting for Magento in shared, semi-dedicated, and dedicated configurations.
Our Containers include free features like Magento support from Varien, SSL certificate, McAfee Secure, and hourly backups.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
39949 users|465 users currently online|85997 forum posts