[Plugin: W3 Total Cache] Will this plugin break post counters
-
I am developing a plugin that adds counters to every post. Now I want this plugin to be fully compatible with cache plugins, and in order to that I have to know how it works.
Will w3 just cache the whole page and whole list of search results as they are, with counters and all in tact. If so, then the counters will not be up to date when they change.
Now I can make my implementation 2 ways:
Option 1
Just load the counters on every page from the database. The html output will be different for every page.Option 2
Add a dash of ajax to the plugin. Have all the pages load the same without any counters, and in the end just get he counters via ajax, and asynchrnous update the counters. Pages are now all the same.Hope someone have some tips for me. Cheers.
The topic ‘[Plugin: W3 Total Cache] Will this plugin break post counters’ is closed to new replies.