js method does not work correctly with cached pages
-
Hello,
I have investigated your code and figured out that since you are using
nonceto 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 towp_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
The topic ‘js method does not work correctly with cached pages’ is closed to new replies.