• Resolved dugbrown

    (@dugbrown)


    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/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Jason Crouse

    (@coolmann)

    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

    (@dugbrown)

    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 Author Jason Crouse

    (@coolmann)

    No, you will not lose that information. Just remember to set the tracker to work in Server Mode.

    Cheers,
    Jason.

    Thread Starter dugbrown

    (@dugbrown)

    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 Author Jason Crouse

    (@coolmann)

    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

    (@dugbrown)

    Ah… Perfect! Thank you so much!!!

    Thread Starter dugbrown

    (@dugbrown)

    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

    (@dugbrown)

    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 Author Jason Crouse

    (@coolmann)

    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

    (@dugbrown)

    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 Author Jason Crouse

    (@coolmann)

    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

    (@dugbrown)

    I understand and nobody wants to manage two codebases for some little return. Thanks

    Thread Starter dugbrown

    (@dugbrown)

    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 Author Jason Crouse

    (@coolmann)

    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.