Open
Description
Is your feature request related to a problem? Please describe
We are curently using the code snippet provided below to display a message on the front end of our website (i.e., contact page) indicating whether our business is open or not.
In order for the code snippet to work, we had to disable caching on our contact page.
Describe the solution you'd like
Is there any way (via code snippet, ajax call) we can execute the code snippet provided below without the need to disable caching on our contact page?
Describe alternatives you've considered
Problem solved with another lightweight plugin: Content No Cache.
Additional context
Transposed from support thread by Generosus: How to Prevent PHP Code from Caching