• Hi, thanks for this great plugin,

    Although wpdiscuz is loaded with many features, it is probably missing the “lazy load comment” feature.

    Can a lazy loading feature be added to your plugin?

    For example, this could allow the comments platform to load only when the user has reached near the Comment Viewport?

    This will be extremely helpful in avoiding excessive DOM size and ensure faster page loading speed.

    I look forward to your reply.

    Kind Regards

    Swag

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author AdvancedCoding

    (@advancedcoding)

    Hi @swagatam1975 ,
    Thank you for being so interested in the wpDiscuz plugin.
    Regarding your question: yes, wpDiscuz has a “lazy load” feature, please navigate to the plugin’s Settings > Comment Thread Displaying > Comment List Loading Type/Comments Pagination Type section and choose the option you want.

    Thread Starter swagatam1975

    (@swagatam1975)

    Hi @advancedcoding,

    Yes, I am aware of that feature but in this feature the comments start loading much early in the post.

    Moreover, in the existing feature the comments load while the viewer is reading the post and there are some floating bars that appear on the right side indicating comments are loading, which can be distracting for the user reading the post.

    It would be great if the comments are allowed to load only when the user reaches near the comment viewport, or maybe at the end of the content.

    Please let me know your thoughts on this!

    Thank you for your time.

    Swagatam.

    Plugin Author AdvancedCoding

    (@advancedcoding)

    Hi @swagatam1975 ,

    You can use the option “Display [View Comments] button” in the sections I’ve mentioned above and in this case, they won’t be loaded until the user clicks the “View Comments” button.
    I hope I helped you with this answer.

    Thread Starter swagatam1975

    (@swagatam1975)

    Hi?@advancedcoding,

    Using the Viewcomments button will prevent the search engine crawlers from crawling and indexing the comments. So the comments may never be indexed by Google.

    If you think my suggestions are not feasible, it is fine, no problem.

    Thanks for your time.

    Swagatam

    Plugin Author AdvancedCoding

    (@advancedcoding)

    Hi @swagatam1975 ,

    Probably, you’ve already checked the “Initiate AJAX loading after page” option, but just in case I wanted to mention this option also, maybe it’s not exactly what you wanted but I think this is the best suitable option for your case.
    Thank You.

    Thread Starter swagatam1975

    (@swagatam1975)

    Thank you @advancedcoding,

    Yes I am aware of all the existing features in wpdiscuz.

    I am actually trying to remove the following warning from the Google page speed tool:

    Maximum DOM Depth
    label.wpd_label > span.wpd_label__text > span.wpd_label__check > i.fas
    <i class="fas fa-bell wpdicon wpdicon-on">

    According to me this warning might go away if the lazy loading is initiated near the comment viewport.

    If you think this is not a serious issue, then it is fine, I will ignore it.

    Thank You,

    Swagatam

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Comment Lazy Load to Reduce DOM Size’ is closed to new replies.