0

I am using Commerce AJAX add to cart in Drupal 7, and the average time for an AJAX call on the development site is 100-200ms. On the live site those same calls take between 1-3 seconds. The development code base and database are current with the production site.

Is this most likely an issue with the hosting environment?

0

Our live environment had no PHP Opcache after we switched over to PHP7. Implementing that sped things up for us quite a bit.

  • Thanks for sharing! What did you set your OP cache limit two in order to be affective? – Christia Aug 12 at 22:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.