• Resolved alexg9

    (@alexg9)


    Admin Ajax loads towards the end of the page load and that’s good. But the time WpDiscuz takes to load is really excessive and poorly optimised.

    If developers don’t implement Ajax correctly in WordPress, drastic performance problems can occur. The GTmetrix report above is a perfect example of this behaviour.

    https://ibb.co/s3vVXyD

    I realise that developing a plugin is an arduous task, but in an age where vital web elements are essential for SEO, prioritising plugin performance should be mandatory. WpDiscuz is still weighed down by Jquery and the excessive Ajax loading means that it is falling further and further behind other optimised plugins.

    Does wpdiscuz have a solution to solve this bottleneck?

    Thank you,

    Alejandro

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support gVectors Support

    (@gvectorssupport)

    You can simply use the native WordPress AJAX functions. Please navigate to the Dashboard > wpDiscuz > Settings > General Settings admin page and enable the “Use WordPress native AJAX functions” option.

    Don’t forget to delete the caches once the option is changed.

    Thread Starter alexg9

    (@alexg9)

    Stop the ajax action wpdLoadMoreComments ntil the user clicks the “load more button” instead of being executed in every post that is visited by the user would be more useful. Is there anyway to do that? Maybe with a custom functions.php code.

    • This reply was modified 3 years, 1 month ago by alexg9.
    Plugin Support gVectors Support

    (@gvectorssupport)

    We may suggest you choose the “Display [View Comments] button” option for the Comment List Loading Type option.

    More info here: https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/comment-thread-displaying/#comment-list-loading-type

    Thread Starter alexg9

    (@alexg9)

    The functionality I like is the one offered by WpDiscuz to show a series of comments and the option to show more by clicking the button, as this improves the user experience. I would just need to be able to optimise it following Google’s guidelines, making it not load if it is not necessary as I suggested in my previous answer. Is there a way to do this? Perhaps by adding a filter through functions.php?

    Plugin Support gVectors Support

    (@gvectorssupport)

    <span style=”background-color: rgb(250, 250, 250); color: rgb(85, 85, 85); font-family: "Source Sans Pro", sans-serif; font-size: 14px; white-space: normal;”>Could you please export the wpDiscuz option from the Dashboard > wpDiscuz > Tools > Backup Options and send it to us?</span>

    image

    You can send it to the info[at]gvectors.com email address.

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

The topic ‘Excessive ajax load’ is closed to new replies.