Varnish config for discourse

Hmmm … no … we never cache any dynamic content. Any caching we do is done in the app.

image

It is possible that a vary by x-discourse-username would allow us to cache for anon via headers. I never experimented with that implementation.

As it stands all dynamic requests like looking at this page hit the app.

2 Likes