Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the best steps to improve magento performance? [closed]

I have a magento shop (ver 1.2) running under a dedicated LAMP setup.

I have made the following changes to it:

  • Enabled magento caching
  • Enabled APC
  • MySQL Query caching
  • GZip compression of html,css,js

The shop is still incredibly slow, around 10 secs and over for rendering the homepage. Is there any obvious things I am missing out.

Please share your tips to improve Magento performance

like image 390
Rick J Avatar asked Sep 10 '09 03:09

Rick J


People also ask

Which mode is faster in Magento?

The Production mode is the fastest because static view files are generated in advance and served from the cache. You can refer to Adobe's documentation to check and change the Magento operating mode.

Which mode is faster in Magento 2?

The fastest one is Production . Default and Developer modes are used for debugging purposes and should never be used for a live site.


1 Answers

Our biggest speed increase came from placing ./magento/var/cache onto a tmpfs filesystem.

We also moved the contents of the .htaccess files into the Apache configuration. That eliminated checking for the file each page hit.

We enabled gzip compression on the server too. It seemed to help a bit.

You may also want to check out your MySQL query cache config.

There are a few guides to tuning your Magento install online. I liked this one: http://www.neurosoftware.ro/programming-blog/blogposter/web-resources/magento-performance-hosting/

like image 131
xer0x Avatar answered Oct 02 '22 13:10

xer0x