Open ndiego opened 5 months ago
Came here looking for guidance on breaking cache stuff. The idea of updating the post when a schedule changes is a cool approach that would cover a lot of those date/time ones, but wouldn't necessary help some of the other conditionals.
I'd also love to see a helper function such as "post_uses_block_visibility()" so that people could use to check if a post uses block visibility, and if so, disable page caching for it completely (similar to what we do for pages with Gravity Forms on them)
Block Visibility currently does not have a mechanism for clearing a page's cache when a block needs to become visible, such as with the Date & Time control. The general advice is to disable caching on pages that require dynamic content. Is there an extensibility mechanism that could be added to the plugin that would make it much easier for developers to use third-party caching plugins alongside Block Visibility?
Feedback from WP Rocket: