Title: Plugin causes high loading time for admin-ajax.php
Last modified: April 3, 2020

---

# Plugin causes high loading time for admin-ajax.php

 *  [cristoiroberto](https://wordpress.org/support/users/cristoiroberto/)
 * (@cristoiroberto)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/plugin-causes-high-loading-time-for-admin-ajax-php/)
 * Hello,
 * I’ve tested with gtmetrix my website and found that using your wishlist plugin
   will generate a high load time for admin-ajax.php.
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-causes-high-loading-time-for-admin-ajax-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/plugin-causes-high-loading-time-for-admin-ajax-php/#post-12622160)
 * Hi
 * wishlists uses ajax call to load Add to Wishlist buttons during page loading,
   in order to solve any possible cache issue
 * The loading time that you see is just due to the fact that admin-ajax won’t benefit
   from any cache, and it isn’t realted to heavy plugin execution
    This can be easly
   tested by loading plain wp-admin/admin-ajax.php: it will fail to a 400 error 
   by default, without executing any specific code, but it will take some time (
   1.19 sec during my test) because it won’t be provided by cache
 * If you don’t want to load Add to Wishlist buttons via ajax, you can disable this
   feature from WP Dashboard -> YITH -> Wishlist -> General
 * One final note: testing your website, I see that load ajax call is performed 
   even when there is no Add to Wishlist button to load
    This is definitely an error,
   that we will solve in next plugin version

Viewing 1 replies (of 1 total)

The topic ‘Plugin causes high loading time for admin-ajax.php’ is closed to new 
replies.

 * ![](https://ps.w.org/yith-woocommerce-wishlist/assets/icon-128x128.gif?rev=3129302)
 * [YITH WooCommerce Wishlist](https://wordpress.org/plugins/yith-woocommerce-wishlist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-wishlist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/plugin-causes-high-loading-time-for-admin-ajax-php/#post-12622160)
 * Status: not resolved