Title: admin-ajax.php slow
Last modified: August 31, 2016

---

# admin-ajax.php slow

 *  Resolved [dugbrown](https://wordpress.org/support/users/dugbrown/)
 * (@dugbrown)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/)
 * First off, I really like your solution. I love the dashboards and stats you are
   giving me but most of all I love that I can turn around and give them to my authors
   and only have them see their stats! GREAT!
 * That being said, I have slowness due to admin-ajax.php. I’ve read you recommend
   to use turn off Java? I can’t figure out exactly where I do this?
 * So my question is… how do I make it faster! 🙂 Do I go with removing the use 
   of admin-ajax.php and if so what does that means for my stats? What are the negatives?
   Then, how exactly do I do this and where?
 * Thank you so much for a great solution. I’ve bought a few add-ons just to pay
   you money! 🙂
 * [https://wordpress.org/plugins/wp-slimstat/](https://wordpress.org/plugins/wp-slimstat/)

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356046)
 * Hi there,
 * you can enable Stealth Mode in the settings, to tell Slimstat not to use admin-
   ajax.php at all. However, this will also prevent the plugin from collecting extra
   client-side information like mouse events, screen resolution, etc. Add-ons like
   Heatmap will not work as expected at that point.
 * If this is not a problem for you, then go ahead and change that setting to make
   your website faster than ever!
 * Cheers,
    Jason
 *  Thread Starter [dugbrown](https://wordpress.org/support/users/dugbrown/)
 * (@dugbrown)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356047)
 * Thanks! I’m not so concerned about resolution and such, I want the author, category
   stats. Do I loose those? If not it is a good deal for me!
 * Thank you!
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356048)
 * No, you will not lose that information. Just remember to set the tracker to work
   in Server Mode.
 * Cheers,
    Jason.
 *  Thread Starter [dugbrown](https://wordpress.org/support/users/dugbrown/)
 * (@dugbrown)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356049)
 * ok, so do NOT use Stealth Mode as I will disable collecting author stats… But,
   I do want to set it to Server Mode? This will speed up the site? and if I do 
   then it talks about caching. I do use WP Rocket for caching.
 * Thanks so much! I really love this plugin i just need to worry about speed 🙁
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356050)
 * Sorry for the confusion: YES, use Stealth Mode, as it will NOT prevent the plugin
   from collecting info about authors and categories. And YES, use Server Mode, 
   as Stealth Mode is not compatible with Client Mode, for obvious reasons.
 *  Thread Starter [dugbrown](https://wordpress.org/support/users/dugbrown/)
 * (@dugbrown)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356051)
 * Ah… Perfect! Thank you so much!!!
 *  Thread Starter [dugbrown](https://wordpress.org/support/users/dugbrown/)
 * (@dugbrown)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356052)
 * one last question – with WP Racket enabled – what do i run the risk of using 
   Server Mode? Not counting new visits?
 * Sorry if this is an obvious answer but wanted to make 100% sure.
 *  Thread Starter [dugbrown](https://wordpress.org/support/users/dugbrown/)
 * (@dugbrown)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356053)
 * BTW – 5 Star Plugin! I truly love it!!! Just wish WordPress would let you work
   around admin-ajax 🙁 i want that thing out of my life 😉 LOL
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356054)
 * LOL, I agree about admin-ajax.php being a big pain in the neck. We originally
   had a system to bypass it, in version 2.0 and partially 3.0. Then a group of 
   hardCORE developers put their foot down and compelled us to use admin-ajax, or
   the plugin itself would have been removed from the repository. The rest is history.
 * As for your question, yes, Slimstat in Server Mode might not track some visits,
   when a caching plugin is active. This is because the caching plugin will not 
   even invoke WordPress to serve that page, and thus the tracker will not be triggered.
 * Cheers,
    Jason.
 *  Thread Starter [dugbrown](https://wordpress.org/support/users/dugbrown/)
 * (@dugbrown)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356055)
 * have you ever thought about having the non WordPress approved version available
   for people to use outside the WordPress repository? I would use it….
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356056)
 * Well, there’s not much popularity outside of the repository, unfortunately. Plus
   now it’s too late to go back, as we’ve coded our plugin (and the tracker) to 
   rely on admin-ajax.php, and it would take a big effort to go back to being independent
   🙁
 *  Thread Starter [dugbrown](https://wordpress.org/support/users/dugbrown/)
 * (@dugbrown)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356057)
 * I understand and nobody wants to manage two codebases for some little return.
   Thanks
 *  Thread Starter [dugbrown](https://wordpress.org/support/users/dugbrown/)
 * (@dugbrown)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356058)
 * with the caching, is there a file or url i can prevent from being cached to have
   it work better when running in server / stealth mode?
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356059)
 * Nope, if the tracker is working in Server Mode.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘admin-ajax.php slow’ is closed to new replies.

 * ![](https://ps.w.org/wp-slimstat/assets/icon.svg?rev=2832242)
 * [SlimStat Analytics](https://wordpress.org/plugins/wp-slimstat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-slimstat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-slimstat/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-slimstat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-slimstat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-slimstat/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/admin-ajaxphp-slow/#post-7356059)
 * Status: resolved