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

Page 2 of 7
Methods To Speed Up Magento - A Guide To Making Magento Faster
 
Stuarts
Member
 
Total Posts:  66
Joined:  2009-03-16
 

Seems to be a specific group setup on Magento for ‘Magento Performance and Optimization here:

http://www.magentocommerce.com/group/view/168/

So, will be checking that out as well for extra tips wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
Stuarts
Member
 
Total Posts:  66
Joined:  2009-03-16
 

2 more tips added to my original post to make it up to 20 ‘Speed Up Magento’ tips grin

 
Magento Community Magento Community
Magento Community
Magento Community
 
Phil Freo
Jr. Member
 
Avatar
Total Posts:  18
Joined:  2008-05-06
Jacksonville, FL
 

This thread is the best resource I’ve seen so far on speeding up Magento / optimization / performance.  Once each of the tips are understood enough and tested, they really should make it into a big performance-related wiki page.

The only wiki page on the subject that I’ve found so far is this one, but it doesn’t provide very many actual specific tips:
http://www.magentocommerce.com/wiki/groups/168/optimising_your_web_stack_performance_for_magento

It seems like this group is the other “correct” place for such discussions:
http://www.magentocommerce.com/group/view/168/

 
Magento Community Magento Community
Magento Community
Magento Community
 
EmmaWells
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2009-04-05
Belfast City
 

Thank you guys.
This post is really useful. I just tried 1 and 2, and my site definitely speed up a lot.

 
Magento Community Magento Community
Magento Community
Magento Community
 
diosalimited
Member
 
Total Posts:  31
Joined:  2009-03-28
Brighton, UK and Malaga, Spain
 

Great thread and hopefully it keeps fresh and being updated as the versions of Magento roll on…

Here’s my experience so far and all I’ve done is mess with the .htaccess and do points 2), 12) and 15)… (the simple ones!)

The results via Firefox3.5 and YSlow were as follows, though I guess the ADSL speed of the viewer makes a big difference to the actual times, so for reference, my results are on a slow Spanish 1mb connection… (and I moved from page to page in the order below)

Home Page: 10.834 (before) : 6.752 (after) : 6.962 (after an Apache restart) (http://venus365.net)
Category: 2.591 (before) : 2.241 (after) : 2.317 (after an Apache restart) (http://venus365.net/mall/hair-straighteners.html)
Shop View: 6.757 (before) : 4.358 (after) : 4.432 (after an Apache restart) (http://venus365.net/redken/)
Category: 2.419 (before) : 2.063 (after) : 1.973 (after an Apache restart) (http://venus365.net/redken/redken-haircare/all-soft.html)
Product Page: 7.936 (before) : 4.371 (after) : 3.898 (after an Apache restart) (http://venus365.net/redken/redken-all-soft-shampoo.html)
Add To Basket: 8.545 (before) : 5.184 (after) : 5.474 (after an Apache restart) (http://venus365.net/redken/checkout/cart/)

I was already very happy with the speed of our hosts (VPS on nublue), but these simple changes seem to have made a great difference already grin

 
Magento Community Magento Community
Magento Community
Magento Community
 
Kammalou
Sr. Member
 
Avatar
Total Posts:  285
Joined:  2009-01-20
Denmark
 

Just a quickie:

A really extreme performance killer is if you have “open_basedir” php settting enabled...!
Disable that on by all means. And yes it will be a Security vs. Performance.

 
Magento Community Magento Community
Magento Community
Magento Community
 
omerts
Jr. Member
 
Total Posts:  24
Joined:  2009-02-12
 

WOW! You did a great job thank you so much!!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
laine09
Jr. Member
 
Total Posts:  1
Joined:  2009-09-21
 

Thanks for the guide. Mine is working extremely slow so i needed this.
I still couldn’t get everything to work though but i’ll keep trying. Thanks for the tips.

Regards,
Laine
prêts travaux

 
Magento Community Magento Community
Magento Community
Magento Community
 
Nautica
Sr. Member
 
Avatar
Total Posts:  140
Joined:  2008-01-03
 

Thanks for this guide. Just to give some feedback i give here my experiences:

This is my environment:

VPS server mini Server with Xenon Quad 10GB harddisk space 500 MB RAM on CentOs with DirectAdmin

1/ Install Fooman Speedster ( i allready had that running)
2/ Enable Gzip Compression in .htaccess
3/ Install Xcache set to:

;xcache.shm_scheme = “mmap”
;xcache.size = 128M
;xcache.count = 1
;xcache.slots = 8K
;xcache.ttl = 3600
;xcache.gc_interval = 300

; Same as aboves but for variable cache
; If you don’t know for sure that you need this, you probably don’t
;xcache.var_size = 4M
;xcache.var_count = 1
;xcache.var_slots = 8K
;xcache.var_ttl = 0
;xcache.var_maxttl = 0
;xcache.var_gc_interval = 300

Don’t mind the ; in front of the settings because i switched it off now due to problems with blank pages.

4/ “Make sure your Apache configuration has KeepAlives enabled
5/"Modify the configuration for your MySQL
6) tmpfs ( that made great improvement)
11/ Optimizing MySQL Database
12/ Magento Caching.

page loads are now around 1 sec and thats a great improvement when i started with 7 to 9 secs.
There is one problem i encountered and i think it has to do with xcache.
At first all seem to run fine but after 24 hours i noticed some blank pages in front end and in admin.
e.g 1 category on front-end gave a total blank page and also the orders and dashboard in admin

I also read an article somewhere about APC have incompatibility issues with Zend with blank pages as result giving segmentation faults in the Apache logs. So now I commented out all Xcache settings out and restarted the server and Voila the pages where normal again.
But switching off did not affect speed at all. In fact with Xcache off seem even slightly better.
I don’t know if its the Xcache itself causing problems or that it need more memory. This version off Xcache ( 1.2.2. ) should be compatible with Zend.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Crest21
Jr. Member
 
Total Posts:  1
Joined:  2009-10-04
 

Most guides I have found on the net as to how to do this give the impression that you need Apache2? Not sure. I am checking with my webhost, and will update this when I know.

Regards

Crest

____
dossier surendettement

 
Magento Community Magento Community
Magento Community
Magento Community
 
pgb315
Jr. Member
 
Total Posts:  13
Joined:  2009-01-24
 

Great tips!

Does anyone have any optimization techniques for configurable products with 300+ associated products?

Simple products load in less than 1 sec, but the configurable products take anywhere from 6-10 seconds to load.

 
Magento Community Magento Community
Magento Community
Magento Community
 
cameronclark
Jr. Member
 
Total Posts:  1
Joined:  2009-10-27
 

Thank you guys.
This post is really useful. I just tried 1 and 2, and my site definitely speed up a lot.
regards,
cameron
Simulation prêt

 
Magento Community Magento Community
Magento Community
Magento Community
 
charismeki
Member
 
Avatar
Total Posts:  35
Joined:  2009-02-27
Potsdam
 

I thought that my installation would be fine until I installed the APC . I had some error messages http://bugs.php.net/bug.php?id=49913 : PHP Warning:  PHP Startup: mm_create(0, /var/lib/php5/session_mm_cli0)
failed, err mm:core: failed to acquire shared memory segment (Invalid
argument) in Unknown on line 0
but I ignored them. In the end my magento store system became really fast! Thanks for the list!

 
Magento Community Magento Community
Magento Community
Magento Community
 
honeycruz
Jr. Member
 
Total Posts:  1
Joined:  2009-12-07
 

Set me to thinking that there must be optimization tips floating about for MySQL…

http://forge.mysql.com/wiki/Top10SQLPerformanceTips
Simulation pret immobilier

Just need to figure ou which ones have the most impact on Magento

 
Magento Community Magento Community
Magento Community
Magento Community
 
cjpwood
Member
 
Total Posts:  55
Joined:  2008-10-24
Manchester UK
 

Hi,

can anyone recommend a uk based host that offers the majority of these optimisation optiones on a shared hosting package? i have looked around the web and the only really magneto specialist i can find are simple servers and i have just left them as they are the biggest pile of c**p ever.

Many thanks

chris

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 7