Jump to content

Strange issue when logged in and add product to cart


Recommended Posts

Hello, I have a serious problem in my store. Performance is ok until a product is added to cart when logged.

 

The problem does not happen If you add a product to cart and you are not logged in. Or there's no product in the cart when logged.

The strange thing is that every shop is very slow.

Link to comment
Share on other sites

thanks for the quick response.

 

But disabling ssl in prestashop should not have a good performance?

 

performance, if associated to ssl, which it appears to be, can be tested by turning off ssl in back office...back office--preferences-->general

 

disable ssl

 

and see if the speed for logged and non-logged is the same...

Link to comment
Share on other sites

 
I tested the logged performance is much worse than not logged. But the strange thing is that it only gets bad when I'm logged and any product in cart.

If you were logged without product in cart - ok.
If you have product in the cart without being logged - ok
If you are logged in and with product in cart - bad
Link to comment
Share on other sites

I can see more difference when I add product to cart.


If I'm logged takes more than 20 seconds
If I'm not logged  takes 2 seconds

 

Listing abandoned carts on backoffice is very slow too, even cleaning ps_carts, ps_discounts and ps_products.

Listing orders on backoffice is much faster.

Link to comment
Share on other sites

×
×
  • Create New...