You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable proxy_cache_revalidate for both root and subdomains
* This unifies the proxy settings for root and the subdomains.
* We don't need `proxy_cache_valid` because the node app will set `Cache-Control` headers for everything.
* Set `Host` request header and `X-Cache` response header in all cases.
* Most importantly, enable proxy_cache_revalidate, allowing nginx to perform conditional `GET` requests, passing the `Last-Modified` header.
0 commit comments