Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

javascript and page html not being compressed? 
 
rscott
Jr. Member
 
Total Posts:  10
Joined:  2008-03-12
 

Slightly strange problem here..

I’m trying to enable compression of all output to improve the performance of my site..

I have uncommented the necessary lines in .htaccess to enable compression, which is working properly for css files.

It appears that the javascript file generated by index.php and the main page are not being compressed (according to firebug..).

Has anyone encountered something similar ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
rscott
Jr. Member
 
Total Posts:  10
Joined:  2008-03-12
 

Found the cause - it appears that using php5-cgi to run php5.2 on centos4 means that these two files don’t get compressed.
I’ve updated to 5.2 using the rpms at http://rpms.famillecollet.com/el4.html and this appears to have solved it.

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