Welcome! Log In Create A New Profile

Advanced

Re: force last-modified with SSI enabled?

Alex Sergeyev
September 29, 2010 03:06PM
Sorry that it's completely different of what you expect but I offer to
not use it at all in this case.

My workaround is to send Expires header and Cache-Control: max-age.
IMO this is good enough without making complicated work to answer with
"last modified".

Or send real "old one" like Facebook does:
http://redbot.org/?uri=http%3A%2F%2Fstatic.ak.fbcdn.net%2Frsrc.php%
2FzEX21%2Fhash%2F75j4m1ms.png

There is no good in sending "actual" last modified timestamp to client.
It was designed to make intellectual caching but only makes things
confusing.

Alex.




On Wed, 2010-09-29 at 11:22 -0700, Fima Leshinsky wrote:
> Is there a way to get nginx to send a last-modified of the "master"
> object when SSI is enabled outside of the: add_header Last-Modified
> "blah" directive? Open to any and all work arounds.
>
>
> Thanks in advance.
>
>
> Fima
>
>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx



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

force last-modified with SSI enabled?

fleshins September 29, 2010 02:26PM

Re: force last-modified with SSI enabled?

Alex Sergeyev September 29, 2010 03:06PM

Re: force last-modified with SSI enabled?

fleshins September 29, 2010 03:40PM

Re: force last-modified with SSI enabled?

fleshins September 29, 2010 04:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 68
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready