Hi,<div>Is there developer documentation on how http caching works in nginx? I&#39;m seeing weird caching behavior where it&#39;s caching responses with Cache-Control: private headers.</div><div>Does nginx obey all caching headers correctly? Also, is there a way to override the caching headers for certain requests only?</div>

<div><br></div><div>As I&#39;ve asked in another thread, I&#39;m also trying to understand how I can enable/disable caching per request based on a cookie or a header set by upstream server. I&#39;ve not found an answer to it yet. Any help is much appreciated.</div>

<div><br></div><div>Thanks,<br>-- <br>Vinay<br><br></div>