Q: Does Exponential work with a reverse proxy such as Varnish?
A: Yes. A reverse proxy or a caching proxy such as Varnish can sit in front of Exponential. Many sites do not need one: Exponential Velocity serves HTTPS itself and has its own response cache.
- List the proxy's addresses in site.ini [HTTPHeaderSettings] TrustedProxies[], so the forwarded scheme, host and visitor address are believed only from it.
- Exponential sends no purge requests to a proxy. Keep the proxy's lifetimes short, or let httpcache.ini [HttpCacheSettings] TagHeader name each page's purge tags (for example for the Varnish xkey module) and add the purge request yourself.
- Never let a shared cache keep pages of signed-in users, baskets, checkout, account pages or the administration.
See Varnish and reverse proxies and HTTP caching and reverse proxies.
Historical. The earlier answer pointed to a Varnish extension sold on eZ Market, the extension store of eZ Systems for eZ Publish. It is not part of Exponential.
Contributors
- Graham Brookins Updated Maintainer
Comments
Add a comment