Everyone know that magento is one of a great ecommerce application. what really concerns one from using magento is the speed. I tried to get the performance increase by 265 times faster. I used the http://www.freespeedtest.com/ to check the loading time. We checked it against one of our theme at its PECoin.
The loading time before the .htaccess is 8 secs and after the modification it was on an average 2.6 secs.
I tried to explain things but I know you wanted some code to be pasted in your .htaccess.
Ok here we go:
Find the following lines from your .htaccess on magento root folder and replace it with the following:
############################################## enable apache served files compression## http://developer.yahoo.com/performance/rules.html#gzip# Insert filterSetOutputFilter DEFLATE# Netscape 4.x has some problems…BrowserMatch ^Mozilla/4 gzip-only-text/html# Netscape 4.06-4.08 have some more problemsBrowserMatch ^Mozilla/4\.0[678] no-gzip# MSIE masquerades as Netscape, but it is fineBrowserMatch \bMSIE !no-gzip !gzip-only-text/html# Don’t compress imagesSetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary# Make sure proxies don’t deliver the wrong contentHeader append Vary User-Agent env=!dont-vary##############################################
—————————
Now on to explanation:
SetOutputFilter DEFLATE
It tells apache to compress the response before the response is been sent over network.
Credits:
More over I did tried it from reading at http://httpd.apache.org/docs/2.0/mod/mod_deflate.html and thanks to inchoo for their blog post.
-
magento development
-
magento development
-
magento development company
-
Website Design Company
-
Uriel Wilkinson
-
magento development
-
Siddesssh
-
MageAustralia
-
Janzell Jurilla




