Re: Failing to cache requests

2019-09-23 Thread Andrei
Thanks for the input! On Sun, Sep 22, 2019 at 3:07 PM Francis Daly wrote: > On Sun, Sep 22, 2019 at 09:37:51AM -0500, Andrei wrote: > > Hi there, > > > Thanks for the confirmation! Is there a way to selectively ignore only > > specific "set-cookie"/cookies, versus all "set-cookie" headers to for

Re: Failing to cache requests

2019-09-22 Thread Francis Daly
On Sun, Sep 22, 2019 at 09:37:51AM -0500, Andrei wrote: Hi there, > Thanks for the confirmation! Is there a way to selectively ignore only > specific "set-cookie"/cookies, versus all "set-cookie" headers to force > cache? Not that I am aware of, for proxy_cache. > Or even better to remove/strip

Re: Failing to cache requests

2019-09-22 Thread Andrei
Hello, Thanks for the confirmation! Is there a way to selectively ignore only specific "set-cookie"/cookies, versus all "set-cookie" headers to force cache? Or even better to remove/strip certain cookies with a regex match? I imagine this way I can strip the cookies that aren't relevant, it would

Re: Failing to cache requests

2019-09-22 Thread Francis Daly
On Sat, Sep 21, 2019 at 01:02:57PM -0500, Andrei wrote: Hi there, > I'm having a hard time understanding why these requests aren't being cached > for 10 minutes? Is it the cookies? Yes. http://nginx.org/r/proxy_cache_valid """ If the header includes the “Set-Cookie” field, such a response will

Failing to cache requests

2019-09-21 Thread Andrei
Hello, I'm having a hard time understanding why these requests aren't being cached for 10 minutes? Is it the cookies? If so how can I avoid this and force cache? curl -I https://NNN.com/abc123/amp HTTP/1.1 200 OK Date: Sat, 21 Sep 2019 17:59:11 GMT Content-Type: text/html; charset=UTF-8 Connectio