Jump to content

ajax adding to cart is very slow!


Recommended Posts

hi folks.

I'm having a big problem with my Ajax cart functions.

 

When I click for the very first time in any "add to cart" , it takes over 10 seconds to add the product to the cart.

 

The second, third and all the next times I click in "add to cart" it takes about 1 or 2 seconds..

 

How should I solve this?

When I install a fresh version of prestashop, it looks like quicker. But after making some visual changes and adding some modules it happens what I said.

 

I tried to reinstall my shop 3 times but this always happens when I'm almost finishing it.

 

 

I was thinking about to make a "ajax" call with a "ghost" product before the customer clicks in "add to cart". This ghost call should be called when the customer open the site. So when he try to add hist first product to the cart, the ajax call should be faster

 

And now?

 

PS: I have my CCC, force compile and cache settings configured to improve the performance.

Link to comment
Share on other sites

  • 5 months later...
  • 1 year later...

 

 

You use the UPS USPS or FEDEX MODULE?

 

Thanks for your suggestion.

I don't use any of these modules. Somehow the slowness of the cart disappeared again. It has been there for about 2 days and suddenly speed is ok again. For now fine of course, but I have experienced this before, it keeps coming back from time to time.

 

Best regards,

Robert

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...