Title: This plugin does not work when cache plugins are enabled
Last modified: April 26, 2020

---

# This plugin does not work when cache plugins are enabled

 *  [smkh1](https://wordpress.org/support/users/smkh1/)
 * (@smkh1)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/this-plugin-does-not-work-when-cache-plugins-are-enabled/)
 * I have tried many plugins for like systems of post but found this one very attractive
   and beautiful UI, But due to some lacking, I am forced not to use it in production
   mode.
 * The plugin does not update likes, dislikes if a cache plugin is enabled. I am
   currently using LiteSpeed Cache plugin & when the plugin is enabled likes does
   not update I have to purge cache in order to update likes/dislikes.
 * Please solve this as soon as you get time. this plugin is a very useful plugin
   but if left aside it won’t survive.
 * ERROR BEHAVIOUR:-
    When user clicks on like button, like button shows the updated
   amount of likes but if user re-visit or re-load page likes goes back to previous
   amount (i.e: 0) and on clicking like again it says you’ve already liked. which
   means its just not updating like count due to cache on server.
    -  This topic was modified 6 years, 1 month ago by [smkh1](https://wordpress.org/support/users/smkh1/).
    -  This topic was modified 6 years, 1 month ago by [smkh1](https://wordpress.org/support/users/smkh1/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fthis-plugin-does-not-work-when-cache-plugins-are-enabled%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Mian Shahzad Raza](https://wordpress.org/support/users/mianshahzadraza/)
 * (@mianshahzadraza)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/this-plugin-does-not-work-when-cache-plugins-are-enabled/#post-12734189)
 * Thank you for your feedback, I will look into this matter.
 *  Plugin Author [Mian Shahzad Raza](https://wordpress.org/support/users/mianshahzadraza/)
 * (@mianshahzadraza)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/this-plugin-does-not-work-when-cache-plugins-are-enabled/#post-12734245)
 * I have checked it with SG Site Optimizer and W3 total cache, it works fine for
   me. In fact, the counter place holder does not use JavaScript when page is loaded.
   A PHP function is called to show value from the database.
    JavaScript is only
   used when the button is clicked to refresh the placeholder. Perhaps you have 
   minified the HTML as well that the generated HTML does not update upon reload?
   However, I will still Digg into it. You can also help us if you like, source 
   code is available at GitHub [https://github.com/wpacademy/wpac-like-system](https://github.com/wpacademy/wpac-like-system)

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

The topic ‘This plugin does not work when cache plugins are enabled’ is closed to
new replies.

 * ![](https://ps.w.org/wpac-like-system/assets/icon-256x256.jpg?rev=2292064)
 * [WPAC Social Tools - Like, React & Share](https://wordpress.org/plugins/wpac-like-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpac-like-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpac-like-system/)
 * [Active Topics](https://wordpress.org/support/plugin/wpac-like-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpac-like-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpac-like-system/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Mian Shahzad Raza](https://wordpress.org/support/users/mianshahzadraza/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/this-plugin-does-not-work-when-cache-plugins-are-enabled/#post-12734245)
 * Status: not resolved