Logo
  • First
  • Second
  • Third
  • Four
« Features of PECoin – Magento template
Magento Admin Problem & Clearing Cache on Magento – Solved »
Feb
19
Speed up your magento – Simple steps
  • Magento
  • Resources
  • Tutorial

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 filter
SetOutputFilter DEFLATE
# Netscape 4.x has some problems…
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Don’t compress images
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
# Make sure proxies don’t deliver the wrong content
Header 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

    We described how to enhance your magento come back using ssh, no web web web web browser needed. Nowadays we will talk about enhancing up this come back by doing just a little modification. By conventional Magento's crawls are all set to "Update on Save".

  • magento development

    Let‘s do from simple steps:
    1. Amount up Magento by Fresh directories log
    2. Caching options for Magento
    3. Magento web variety web host hosting server options optimization
    4. Benefits efficiency optimization

  • magento development company

    Speed up your magento website with these ten steps must be follow.
    1. Latest version of Magento.
    2. Flat Catalog
    3. Enable caching
    4. Third-party/community extensions
    5. Compress image files
    6. Fooman Speedster
    7. Magento Compiler.
    8. PHP opcode cache
    9. Optimize the MySQL server
    10. LiteSpeed Enterprise web server.

  • Website Design Company

    Our Magento Developers specialise in Magento Sage integration for your business. Small and medium sized businesses that have a Magento website will find this a useful resource for integrating your Sage systems with their Magento Website, saving time, resources & ultimately keeping running costs low!

  • Uriel Wilkinson

    Magento is good ecommerce platform, but there is one issue which haunts every Magento developer that it is very slow. To Speed up Magento is possible by admin settings but for that have to  remember to setup your admin for maximum performance.

  • magento development

     Magento is one of the great application. Magento was built using the Zend Framework.It uses the Entity-attribute-value database model to store data.

  • Siddesssh

    I have one doubt please make it clear. Clearing cache through admin in live site, some times effect functioning of site. can u suggest me, what can be done to avoid such issues in live site??

  • MageAustralia

    Expires also helps a lot with speeding up Magento because of the quantity of connections that are made. If you're not using Expires or your Host doesn't enable them, then each object still has to make a call back to the server to check even though the server will respond with a 304 Not Modified, there's the connection time / wait for this to occur.

  • Janzell Jurilla

    great works. It really helps in magento caching capablities... other tips also available here http://www.webdosh.net/search/...

blog comments powered by Disqus
1
View Comments

PE Themes is proudly powered by Pertly