Plugin Author
Franky
(@liedekef)
Not caching a css or js is something totally different than not caching rendered page content. The shortcode gets expanded by wordpress and then it gets cached by your caching plugin. I don’t think it is possible to exclude parts of a page to be cached. You should check with WP-Rocket if that’s at all possible. Otherwise, excluding the whole EME plugin folder is all you can do, but it won’t help you here I think. The only thing to do is not using a cache there, or I should switch [eme_events] to be totally ajaxified, which would allow it not to be cached.
Franky, thank you for the quick reply.
Another quick question.. Do you think if I put the short code into another page and lazyload via iframe.. do you think this will work?
Plugin Author
Franky
(@liedekef)
That iframe would need to be a very simple page without header/footer then (but still managed by WP in order to handle shortcode expansion).
And then you probably might exclude that iframe link from your caching in WP rocket. But again: I think the people from WP Rocket are the ones to ask that, personally I avoid WP plugins for caching (only minify css/js if needed) and prefer webserver caching if really needed.
Appreciate your reply. thank you.