This article provides a solution for performance issues with Adobe Commerce on-premises or Adobe Commerce on cloud infrastructure sites due to some high throughput requests causing significant server load and traffic.
The issue was fixed in version 2.3.4 of both Adobe Commerce on cloud infrastructure and Adobe Commerce on-premises.
The site experiences a slow performance due to high throughput requests, like critical AJAX requests.
High throughput AJAX requests include those related to customers’ private content.
There are three solutions:
Ensure lighter requests (cache requests or move to customers’ private content)
If there are third-party AJAX requests that are triggered on each page, attempt to cache these requests or move them to customers’ private content. The merchant can do this by making sure that custom AJAX requests are called using the GET HTTP methods. It will make these requests cacheable by Fastly. If there are custom AJAX requests that should not be cached, they should be refactored according to private-content functionality. For steps, refer Private Content in our developer documentation.
Reduce the number of requests
customer/section/load
requests. Follow the steps in Persistent shopping cart paths in our developer documentation to see if persistent shopping cart is enabled.sections.xml
follow the steps in Private content: Invalidate private content in our developer documentation. Please make sure that you are not using the customerData.reload()
method directly in your customizations.For more information on private customer content, review Private content in our developer documentation.