How to not cache calendar only?
-
Hello. I have a problem on my site where not logged-in users are served expired data, specifically, the calendar on my page. The calendar plugin I use is ICS Calendar. I have to manually purge the page everyday. Besides calendar, I have other static content on the same page too so I don’t want to go with excluding the page from being cached solution.
I have contacted the calendar plugin developer but they can’t help. I have tried turning on ESI but the shortcode will not work if I put
[esi]
in the shortcode. Please help. I’m using LSCache + Cloudflare but I only use Cloudflare to cache wp-content/uploads. This is the LSCache configuration generated automatically on my htaccess file: https://i.imgur.com/Bn4h1wh.png
- The topic ‘How to not cache calendar only?’ is closed to new replies.