CloudFlare Cache and Hosting Cache
-
Hi Hector,
Hope you are well.
We have been using your plugin for many years now and one problem that has always hit us is related to caching.
Now we have moved to a host which has configured our CloudFlare Enterprise caching and local caching with WP-Rocket and their own server cache for speed and performance, we not that WPP is no longer showing us the ‘correct’ views – hence impacting our TRENDING and POPULAR posts widgets which use your plugin.
i.e.
Homepage
TRENDING (WPP)
WP Dashboard:
This number as always been higher 1000+
The only way we have addressed this is to keep on clearing all the cache – which is not a desirable fix at all -because we then lose all our performance gains from the CF and local caches.
We do have Redis and Object Cache Pro installed as well.
The hosting company asked this question to assist with the issue:
“I would agree having to clear the cache each time would not be ideal, what would need to happen is the plugin would need to use an Ajax call, so the page can be served by cache but the Ajax function allows that section to remain dynamic and update in real time while not having to clear the cache.? If that is not a possibility then clearing cache is the only option in which we need to see if the plugin has some kind of hook we can listen to, to know when to clear the cache.“
Can you please suggest how we can fix the above? Do you have an example of the Ajax call?
We use 3 WPP widgets – one for the homepage – TRENDING:
and two for ‘Popular’ and ‘Trending’ on the sidebar of posts (which currently need CSS fixes) e.g.
Your help with this will be hugely appreciated.
Regards,
Indy
- The topic ‘CloudFlare Cache and Hosting Cache’ is closed to new replies.