Welcome! Log In Create A New Profile

Advanced

Re: nginx caching headers

Maxim Dounin
July 03, 2014 05:46AM
Hello!

On Wed, Jul 02, 2014 at 11:26:54PM -0400, eiji-gravion wrote:

> Are there any specific reasons why nginx has both ETags and the Last
> Modified headers being sent? From my understanding, this is a bit redundant
> for most situations.

This is required to support both clients using Last-Modified as a
cache validator, and ETag as a cache validator. As nginx doesn't
know what a client will use, it returns both. (And this is
identical to what other servers out there do.)

Originally ETag support was added to support download resumption
in IE9, it needs strong entity tags to be able to resume
downloads using range requests. And obviously there are lots of
clients which don't support ETag.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx caching headers

eiji-gravion July 02, 2014 11:26PM

Re: nginx caching headers

Maxim Dounin July 03, 2014 05:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 132
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready