We have a website setup with w3c total cache being used to cache the website. I have tried to implement a <!-- mfunc --> tag around the sidebar to avoid caching, but it seems to be acting weird. If you load the site initially, it shows the cached version of the events widget (events from April 2nd) and once you hit refresh, it changes to the 29th of April.
Is there any way to avoid caching this widget specifically?
Thanks for getting in touch! That’s a very interesting issue and one that I’m not sure we’re entirely able to support because it might be part of the W3C world.
Perhaps you can give a few more details about how you’ve added the page fragment caching. I grabbed this from the W3 Total Cache FAQ page just in case:
Hey Allen, glad you worked things out here. This thread will remain closed, but I just wanted to note that I’ve taken it over from Jami since she’s moved on to other things at the moment. If other questions or concerns arise, don’t hesitate to open a new thread 🙂