Counter does not work with Super Cache (5 posts)

  1. serge_pufik
    Posted 2 years ago #

    A just have installed WP-PostViews on my blog http://www.pufikhomes.com, where SuperCache plugin was already installed.
    The problem is that the counter from WP-PostViews does not display page views correctly untill I clean up all cache (although everything is ok with numbers inside the admin panel, views figures on the website are not changing, even when i refresh the page).
    Please let me know how can i make counter to display views stats dynamically? In the description to WP-PostViews you wrote that the plugin is compatible with SuperCache, but at my site the numbers are not updated with caching on.


  2. Lester Chan
    Plugin Author

    Posted 2 years ago #

    The counter do get updated but your page HTML code is cache (I am assuming) that is why you will not see the real views.

    Eg: For this post, http://www.pufikhomes.com/2013/08/dizaynerskaya-ferma-vo-frantsii/ I saw the counter displayed is 500, but when I visited tat link, the ajax request return 524.

  3. serge_pufik
    Posted 2 years ago #

    Any thoughts how can i get my HTML pages to display real-time views stats?

  4. Lester Chan
    Plugin Author

    Posted 2 years ago #

    I don't think that is possible to be done in an efficient way. Because if your page list 20 posts, it will have to spawn 20 AJAX calls to get the views and you might as well don't use caching because it will not make a difference.

  5. noaneo
    Posted 2 years ago #

    so no solution, the plugin no longer useless then?
    even changing something in the configuration wp super cache, for example
    Use PHP mode to serve cache files.
    thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic