Jump to content

PS 1.5.6.1 Add to cart slow - how to debug/profile?


Recommended Posts

Hello,

I am using PS 1.5.6.1 (www.petrolejovalampa.cz). Loading of pages is fast (cache is used) but If I add product to cart it takes up to 70 seconds to display cart (non ajax cart is set up).

 

Most of the time the browser is waiting for the the response (90%) on the action e.g. http://www.petrolejovalampa.cz/kosik?qty=1&id_product=563&token=74e930b8cec984edde9cf6f2ac1c06f3&add (I am using friendly url where kosik=cart.php).

 

Then the browser is redirect to http://www.petrolejovalampa.cz/objednavka?ipa=563 (objednavka=order.php) which is fast.

 

If I set up profiling I receive only information to the second page which is fast.

 

I have investigated that the action add to cart is slow  after approximately 20 minutes after last action add to cart. If I add product to cart the next action is fast. To minimise the lost I am using firefox plug in to add product to cart every 5 minutes so the action add to cart for the time I am running my browser.

 

 

Do you have the experience with this behaviour? Do you know how to profile cart.php to see what is slow?

 

Thank you.

 

Link to comment
Share on other sites

×
×
  • Create New...