Accept Header / cache versioning issue

Francis Daly francis at daoine.org
Wed Aug 19 17:35:37 UTC 2015


On Wed, Aug 19, 2015 at 12:00:21PM -0400, biazus wrote:

Hi there,

> I noticed that Nginx 1.8.X is taking into account the Client Header "Accept"
> for versioning the cache objects, for instance:

I don't see it in my brief testing.

What nginx config do you use that shows this behaviour?

> Then, I have a question:
> 
> Is there any way to normalize the Accept header, or even ignore it ?

Remove "$http_accept" from your "proxy_cache_key", if it is there?

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list