• Hello,

    I have investigated your code and figured out that since you are using nonce to check whether you are going to count page views (line 148 of counter.php class) when a cache is used with LTV > 24h for all pages cached more than 24h the call to wp_verify_nonce( $_POST['pvc_nonce'], 'pvc-check-post' ) will return false, rendering the counter useless!

    In other words, when a page cache is used, post views are counted only for the first 24h the page is cached.

    This is a major functionality bug that should be addressed ASAP.

    Thanks,
    Byron

    • This topic was modified 7 years, 7 months ago by kioub.
    • This topic was modified 7 years, 7 months ago by kioub.

The topic ‘js method does not work correctly with cached pages’ is closed to new replies.