How to disable cache for the content returned by a shortcode
we have wrote a shortcode that returns a different content based on a timestamp.
The typical business case is: "Before the 1st of January, display "registrations will be open on the 1st of January" and after that date "register here""
Therefore, it is quite important that this piece of content does not get cached.
Is there a way, from the shortcode code to indicate that this piece of content should not get cached (knowing that the cache mechanism is not yet chosen - nginx, memcache, total cache, ...)?
Topic plugin-wp-supercache shortcode plugin-w3-total-cache cache Wordpress
Category Web