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

Enabling Cache Slows Down Add to Cart
 
BryGuy
Jr. Member
 
Total Posts:  29
Joined:  2008-01-30
 

We have found that when cache is disabled our add to cart time is approximately 4-5 seconds.

However, when we enable cache the add to cart time is approximately +15 seconds.

Is anyone else experiencing this issue as well?

Cheers.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mark_Kimsal
Sr. Member
 
Total Posts:  186
Joined:  2007-09-12
Michigan, USA
 

Interesting, I’ll have to test this out.

In the meantime, do not use the disk cache if at all possible to avoid.  Install APC or memcached.  APC will automatically be used for the cache if available.. memcached requires some tweaks.

The disk cache opens files 1000s of times per request because… although the data is cached, the result of asking the cache for data is not.

 
Magento Community Magento Community
Magento Community
Magento Community
 
BryGuy
Jr. Member
 
Total Posts:  29
Joined:  2008-01-30
 

Thanks for the tips.  We will test it out and see what happens then post the results.

Regards.

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