• AJ,

    I have been happily RELYING on Top 10 for years now and it’s one of my most beloved plugins. However, lately our emphasis has been on improving our site performance (slashcomment.com) and GTMetrix continually flags two pieces as slow for us.

    One is a sidebar widget that goes off-site for box office results that we’re going to retire.

    The other is oddly to us, Top 10. It’s on average taking 1.5 seconds to load and that seems excessive to me for a tool that isn’t even front-facing (unless I misunderstand how it works).

    I am literally incapable of thinking about using the site without this on my dashboard. Is there something wrong? Is there some way to prevent this bottleneck?

    Any help would be greatly appreciated. Thanks!

    https://wordpress.org/plugins/top-10/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author WebberZone

    (@webberzone)

    Are you able to see what part of Top 10 is exactly causing this issue?

    It could be the tracking code.

    Please see if this works for your site. It mainly uses and alternate tracker that doesn’t need WP to be loaded. It used to be the original tracker code that I used.

    https://gist.github.com/ajaydsouza/e4637ebb9df9158fc5a9

    Thread Starter Agrajag27

    (@agrajag27)

    You can see what I see on GTMetrix by typing in our domain at slashcomment.com

    Here’s what’s provided:

    http://slashcomment.com/?top_ten_id=25044&top_ten_blog_id=1&activate_counter=11

    Thread Starter Agrajag27

    (@agrajag27)

    Does that seem to link to what you mentioned? If so, I’ll give that old tracker version a shot.

    Thread Starter Agrajag27

    (@agrajag27)

    I also see your old code. Where’s it go? The plugin has a lot of files associated with it.

    Plugin Author WebberZone

    (@webberzone)

    You need to put the code in your themes functions.php

    Thread Starter Agrajag27

    (@agrajag27)

    Dropped it to 1/10th the speed (230ms vs 2.3 seconds).

    Plugin Author WebberZone

    (@webberzone)

    Thanks for confirming. I takt that this is actually a good thing.

    This is one thing I’ve been debating about quite a while. It indeed looks that the separate piece of code works well vs. what is currently the new code.

    Thread Starter Agrajag27

    (@agrajag27)

    Thanks for providing an option!

    Would this old code be likely to make it back into the core product? I’d hate to realize a year from now that I have duplicate code for this.

    Plugin Author WebberZone

    (@webberzone)

    It might most likely have to. I haven’t found a cleaner / faster way of using the new code. As you could see there was a major impact.

    I might add an option into the plugin to just use the old code as the base and use an alternate code (new one) in other situations.

    Please keep an eye on the changelog for future updates. I usually keep the changes clear.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Performance/Waterfall/Bottleneck?’ is closed to new replies.