Does varnish just use the Cache-Control header from the source server?
And are there other ways you can control how long it caches the response? For example, can you say that Varnish caches the response “indefinitely” (ie, “Until further notice”), and then later explicitly instructs it to remove this object from the cache when you know that the underlying data has changed?
(Note: I have never used Varnish, I'm just trying to decide if this will be suitable for the upcoming project.)
callum
source share