Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19296

supertester on "[Plugin: W3 Total Cache] View count function hooked to 'wp' not counting"

$
0
0

Hi,

I have a view count function which counts each pageview as a view. The function is hooked to the 'wp' hook. However since W3 Total Cache caches the whole website, the count function does not work.

I know I can fix this by running the views function through an AJAX call instead of the 'wp' hook, but I'm wondering if there's any other way to accomplish this?

I tried to add the path to the views function file to the 'Never cache the following pages:' box in W3 Total Cache-> Page Cache settings page, but that does not solve the issue.

Anybody got an idea how to accomplish this?

http://wordpress.org/plugins/w3-total-cache/


Viewing all articles
Browse latest Browse all 19296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>