Cache revalidate modified timezone mismatch

Jonathan Matthews contact at jpluscplusm.com
Wed May 7 15:34:15 UTC 2014


On 7 May 2014 15:51, Thijs Koerselman <thijskoerselman at gmail.com> wrote:
> I have a backend returning a last modified header in CEST.

RF2616 says "All HTTP date/time stamps MUST be represented in
Greenwich Mean Time (GMT), without exception".

I'm not very surprised nginx isn't doing what you expect. Fix your backend.

> What's going on

I suspect nginx is merely munging the header into something that
matches the HTTP spec, and (arguably correctly) isn't looking at the
actual meaning of the header being modified.

> and how can I fix this?

Fix your backend.

J



More information about the nginx mailing list