wpDiscuz - WordPress Comment Plugin
Issue when ajax loa...
 
Share:
Notifications
Clear all

Issue when ajax loading batch of comments  


willybob
Posts: 4
(@willybob)
New Member
Joined: 1 month ago

Just found an issue when comments are lazy-loaded through ajax :

depending on how many comments par page you setup in Dashboard > Settings > Discussions admin page, lazy-loading will load first batch on comments, then lazy load some more comments then starts loading again the first comments, again and again.

You can bypass this only by setting 0 in Break comments into pages with X on Dashboard > Settings > Discussions admin page, wehich is useless because it loads all comments at once instead of lazy loading them by batch.

7 Replies
Asti
Posts: 1270
 Asti
Support
(@asti)
Support member
Joined: 3 years ago

Hi @willybob,

Please let us know if you use any cache plugins and SG Optimizer. Also, please leave some example URL to allow us to check the issue. 

Reply
willybob
Posts: 4
(@willybob)
New Member
Joined: 1 month ago

Hi, thanks for your answer.

We use Memcached, Opcache and WP Rocket.

Emptying all caches and or desactivating them at all does not solve the issue.

Increrasing how many comments par page you setup in Dashboard > Settings > Discussions admin page to reach a significant amount which is higher than the number of comments posted in a specific post helps to avoid the duplication, but does not solve the issue.

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1270

@willybob,

Could you please send the admin login details to info[at]gvectors.com email address? I'll ask the developers to check the issue for you. 

Reply
willybob
Posts: 4
(@willybob)
New Member
Joined: 1 month ago

Sorry for the delay,

details sent by email

Reply
2 Replies
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1270

We'll check and back to you asap.

Reply
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1270

@willybob,

The issue comes from the caching system of your website. It has a very hard cache. Please deactivate all cache plugins and check again. If the issue doesn't solve then you have a server-side cache system. You'll need to contact the hosting support. 

Reply
willybob
Posts: 4
(@willybob)
New Member
Joined: 1 month ago

Thanks for your feedback

We narrowed down the issue to Memcached, will keep working on making it and Wpdiscuz work together.

Reply
Share: