Fragmented cache in W3 total cache not working
-
Hello All,
Posting an issue for the first time.We are working on CMS project (Ticketing website using WordPress), where we have both static and dynamic pages.
We are using wp3 total cache plugin.
As we have dynamic pages where some content of a particular section of the page is dynamic but does not trigger updates to wordpress. Hence cache plugin does not refresh the cache as there was no CRUD operation.Few examples:
1. Scheduled pages – some of the URLs will become active at specific date and time.
2. Dynamic content – Content of a section of the page is changed. For example, page is already accessible to users from long time but purchase button gets enabled only when sale starts and this sale start is mananged within a widget.
Another example, purchase button needs to be enabled/disabled based on the availability of tickets. When tickets are sold out, we disable the purchase button. However this we are achieving with an API call to external system and hence there is no update triggered to wordpress. This is the reason cache does not get refreshed and old page is getting rendered which is incorrect.We are trying to handle this situation via w3 total cache plugin’s fragmented cache feature but we are struggling to make it work.
We have done the page cache for whole page except some section or div (this should be dynamically fetch the data on every page load).
First time when we load the page, section or div data will be rendered properly with post_id (post_id from POST request). But when we reload page again after the page cache has done, We can’t track the post_id (since the page is loading from the page cache). Need to know the mechanism to load the data of particular part or div dynamically on every page load.
Any ideas/suggestions/solutions on how to achieve this will be greatly appreciated.
Thanks
Sujit
- The topic ‘Fragmented cache in W3 total cache not working’ is closed to new replies.