Is it possible to disable Varnish based on some condition set at the backend?
I have this use case:
Website powered by Varnish, has its administration area, where administrator has action for turning off page cache (Varnish). That will eventually set appropriate flag at some point, in some storage, depending on the implementation itself, etc.
The question is, can Varnish somehow query backend at some URL and then force return (pass) for that backend if result is negative, based on mentioned flag?
Thanks in advance.