• Hi,
    I am using your plugin as it seems to be the only plugin available that does what I need. However, there is a big issue as the admin-ajax calls are slowing the site down considerably. Without the plugin it’s 1.5 seconds to load, but with the plugin it’s taking 5 seconds.

    Is there anything that can be done about this, because my client is not happy with the page speed and I can’t find any alternative plugins anywhere?

    Many thanks

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Takashi Matsuyama

    (@takashimatsuyama)

    Hi, @newsspider

    Thank you for your question.

    Does the same thing happen with the standard theme (Twenty Twenty / Twenty-One)?

    I use this plugin on several websites, each with a different theme, and it doesn’t slow things down that much.

    Therefore, I need some more information to identify the cause of the significant slowdown in speed.

    Thanks

    Thread Starter newsspider

    (@newsspider)

    Thanks for your reply. I tried on a simple development site I have and changed the theme to 2020. The call to the admin-ajax is still the longest process in the page load. In this case it’s adding 1.6 seconds to the load time. without the plugin, the page is loading in 1.3 seconds, so the plugin is more then doubling the load time.

    Hope you can help.

    Thanks

    Plugin Author Takashi Matsuyama

    (@takashimatsuyama)

    Hi, @newsspider
    Thanks for your reply.

    Unfortunately, “admin-ajax” seems to be slow.
    However, if the difference is between 1.3 to 1.6 seconds, I think it is unavoidable because the plugin depends on “admin-ajax”.
    If you have eye-catchers in your history, those load times will also add up.

    In the theme you were using, it was 1.5 to 5 seconds, so that’s a big difference.
    For other themes, the difference is 0.3 seconds, so it could be something else that is specific to the theme or a compatibility with other plugins.

    If possible, you may want to check the speed by stopping the other plug-ins in turn in the development environment.
    However, it may be difficult to reduce the difference to less than one second with this plug-in in use.

    Please try it in the development environment.

    Thanks

    Thread Starter newsspider

    (@newsspider)

    Hi,
    There is a different issue I am having. In Mozilla Firefox, when I click on a menu item a popup appears with the text “error”. The page still loads, but it looks very unprofessional.

    I have tried disabling the Browsing History plugin and the error then does not display, so it appears to be related to this plugin.

    Thanks

    Plugin Author Takashi Matsuyama

    (@takashimatsuyama)

    Hi, @newsspider
    Thanks for your reply.

    Perhaps that is not the message the browser is giving, but one of the plugin’s features.
    I’m trying to get an ‘error’ alert when ajax fails.
    You can find the setting on line 34 of assets/list.js.
    This is provided to let the user know that ajax has failed.
    Does it always show up?
    If we can figure out why the ajax failed, I may be able to solve this.

    Thanks

    Thread Starter newsspider

    (@newsspider)

    The error appears if I click on a menu item, not long after a page loads. If I wait say 10 seconds, then it doesn’t appear.

    Plugin Author Takashi Matsuyama

    (@takashimatsuyama)

    Hi, @newsspider
    Thanks for your reply.

    It may be that you are moving to the next page before this plugin (Ajax) is fully loaded on the first page.

    I suspect that this plugin (Ajax) is working on the destination page as well, so the Ajax is failing and this plugin is giving an “error” message.

    If you don’t get this “error” message with the standard theme or another site, it may be due to the loading speed of your theme or site when using this plugin.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Admin-Ajax calls slowing site down’ is closed to new replies.