Need Help Optimizing AJAX Call Time in Add-to-Cart Implementation
-
Facing an issue with the performance of a custom add-to-cart functionality I’ve implemented on a WooCommerce site. The AJAX call takes around 1.40 seconds, which is impacting the user experience. I’m looking for suggestions to optimize this. Setup Details:
- WooCommerce Version: 6.5.5
- Theme: BoroBazar
- AJAX Call: Custom implementation for adding products to the cart
- Backend: PHP function handles the AJAX request, with minimal processing and no unnecessary operations
- Server Response Time: Approximately 1.35 seconds for the
admin-ajax.php
call.
Does anyone have suggestions or best practices for further optimizing this? Are there any specific WooCommerce hooks or processes I should look into that might be slowing down the AJAX call? Any advice on optimizing
wc_fragment_refresh
would also be appreciated.Thanks in advance for your help!
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.