Skip to the content
Documentation

Q: Does Exponential work with a reverse proxy such as Varnish?

No ratings yet

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

Comments

Add a comment

Comments are read by a moderator before they appear.