Re: Ignored Cache-Control request header

2014-03-14 Thread Maxim Dounin
Hello! On Thu, Mar 13, 2014 at 06:34:52PM -0400, bcx wrote: > Thank you for your suggestion. I understand about the DoS issue. > proxy_cache_bypass indeed is the solution. Documentation was not clear about > it, but the result is written to cache. The cache is only bypassed in the > lookup fase,

Re: Ignored Cache-Control request header

2014-03-13 Thread bcx
Thank you for your suggestion. I understand about the DoS issue. proxy_cache_bypass indeed is the solution. Documentation was not clear about it, but the result is written to cache. The cache is only bypassed in the lookup fase, not in the write back fase. I worked out this bit of configuration. T

Re: Ignored Cache-Control request header

2014-03-13 Thread Maxim Dounin
Hello! On Thu, Mar 13, 2014 at 12:20:41PM -0400, bcx wrote: > I noticed that the nginx http proxy module by default does nothing with the > Cache-Control request header that is sent by browsers. > > Most browsers (I tested Crome and Firefox, but from my online research it > showed that even Inte

Ignored Cache-Control request header

2014-03-13 Thread bcx
I noticed that the nginx http proxy module by default does nothing with the Cache-Control request header that is sent by browsers. Most browsers (I tested Crome and Firefox, but from my online research it showed that even Internet Explorer has the same behaviour) send a Cache-Control: no-cache hea