416 HTTP Response Issue

Francis Daly francis at daoine.org
Fri Jun 11 12:29:04 UTC 2021


On Fri, Jun 11, 2021 at 08:14:22AM -0400, anish10dec wrote:

Hi there,

> Though we have proxy cache valid defined to cache only respective response
> code , nginx caching 416 response.

http://nginx.org/r/proxy_cache_valid

"""
Parameters of caching can also be set directly in the response
header. This has higher priority than setting of caching time using
the directive.
"""

> Expires: Thu, 01 Jul 2021 14:10:43 GMT^M
> Cache-Control: max-age=2592000^M

You can tell nginx to ignore those headers, if you want to.

Cheers,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list