Title: Compatible with caching plugins?
Last modified: February 26, 2019

---

# Compatible with caching plugins?

 *  Resolved [ctrlaltdelete](https://wordpress.org/support/users/ctrlaltdelete/)
 * (@ctrlaltdelete)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/compatible-with-caching-plugins-4/)
 * Hello, i’m currently using disqus js to display recent comments like so.
    `https://*
   SHORTNAME*/recent_comments_widget.js?num_items=5&hide_mods=0&hide_avatars=1&avatar_size
   =92&excerpt_length=100`
 * It bypasses the cache using document.write. Would this plugin do the same or 
   just print plain html that will remain static if using caching plugins?
    -  This topic was modified 7 years, 3 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This topic was modified 7 years, 3 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

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

 *  Plugin Author [ovann86](https://wordpress.org/support/users/ovann86/)
 * (@ovann86)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/compatible-with-caching-plugins-4/#post-11253790)
 * That old disqus.js was discontinued/unsupported by disqus years ago – I’m surprised
   it still works !
 * This plugin used to build on it, but it started to get buggy. If I remember right,
   it would occasionally decide to reject the parameters passed to it.
 * But I did like how it was 100% client side for exactly this purpose – cache bypass.
 * As it stands – no I dont believe this plugin would bypass a cache, and not sure
   it would be easy to either.
 * Im thinking it would either need to clear the cache for all the pages the shortcode
   is used – or use it’s own JS script to query the WordPress site and spit out 
   the code.
 * I’ll have a little think about it and see if it’s possible (or sane) to do.
 * If you have thoughts on how it might be implemented, please let me know.
 *  Plugin Author [ovann86](https://wordpress.org/support/users/ovann86/)
 * (@ovann86)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/compatible-with-caching-plugins-4/#post-11474683)
 * I forgot to reply to this message.
 * Version 2.3.0 introduced a new ‘Use Cache Buster’ setting – which should bypass
   cache plugins.
 * It won’t talk “live” to Disqus (like the recent_comments_widget.js) – as this
   would likely use up all your API calls.
 * But if that’s important for you – the ‘Cache Time’ setting can be adjusted to
   a lower amount.
 * Or as an extreme you can enable ‘Bypass Cache’ to talk “live” to Disqus – but
   again, each request will use up the limited API calls they allow per hour.
 * Let me know how you go with it.

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

The topic ‘Compatible with caching plugins?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/disqus-latest-comments.svg)
 * [Disqus Latest Comments Addon](https://wordpress.org/plugins/disqus-latest-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disqus-latest-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disqus-latest-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/disqus-latest-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disqus-latest-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disqus-latest-comments/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ovann86](https://wordpress.org/support/users/ovann86/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/compatible-with-caching-plugins-4/#post-11474683)
 * Status: resolved