Welcome! Log In Create A New Profile

Advanced

Re: Failing to cache requests

Francis Daly
September 22, 2019 08:28AM
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 not be cached.
"""

> If so how can I avoid this and force cache?

"""
Processing of one or more of these response header fields can be disabled using the proxy_ignore_headers directive.
"""

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Failing to cache requests

Andrei September 21, 2019 02:04PM

Re: Failing to cache requests

Francis Daly September 22, 2019 08:28AM

Re: Failing to cache requests

Andrei September 22, 2019 10:40AM

Re: Failing to cache requests

Francis Daly September 22, 2019 04:08PM

Re: Failing to cache requests

Andrei September 23, 2019 03:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 148
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready