Caching authenticated responses
tpapad+varnish at gmail.com
Sun Oct 4 21:39:44 CEST 2015
Is there some easy way to configure Varnish to cache authenticated
The concept is quite simple: the back-end is a REST API provider and the
response payload is mostly cacheable (i.e. rarely changes). The API uses
basic HTTP authentication which prevents default Varnish to cache it.
However, since the user base is limited, I'd like Varnish to cache
(meaning: respect the back-end caching headers, not blindly cache anything)
using the authorization header as part of the hash / cache key. Is this
Any sample VCL or pointers would be welcomed!
Thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc