Will browsers send an If-Modified when an Expires is set? Hm .. need to take a look.<br><br>Thanks,<br>Fima<br><br><div class="gmail_quote">On Wed, Sep 29, 2010 at 12:01 PM, Alex Sergeyev <span dir="ltr">&lt;<a href="mailto:asergeyev@dyn.com">asergeyev@dyn.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Sorry that it&#39;s completely different of what you expect but I offer to<br>
not use it at all in this case.<br>
<br>
My workaround is to send Expires header and Cache-Control: max-age.<br>
IMO this is good enough without making complicated work to answer with<br>
&quot;last modified&quot;.<br>
<br>
Or send real &quot;old one&quot; like Facebook does:<br>
<a href="http://redbot.org/?uri=http%3A%2F%2Fstatic.ak.fbcdn.net%2Frsrc.php%%0A2FzEX21%2Fhash%2F75j4m1ms.png" target="_blank">http://redbot.org/?uri=http%3A%2F%2Fstatic.ak.fbcdn.net%2Frsrc.php%<br>
2FzEX21%2Fhash%2F75j4m1ms.png</a><br>
<br>
There is no good in sending &quot;actual&quot; last modified timestamp to client.<br>
It was designed to make intellectual caching but only makes things<br>
confusing.<br>
<br>
Alex.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
On Wed, 2010-09-29 at 11:22 -0700, Fima Leshinsky wrote:<br>
&gt; Is there a way to get nginx to send a last-modified of the &quot;master&quot;<br>
&gt; object when SSI is enabled outside of the: add_header Last-Modified<br>
&gt; &quot;blah&quot; directive? Open to any and all work arounds.<br>
&gt;<br>
&gt;<br>
&gt; Thanks in advance.<br>
&gt;<br>
&gt;<br>
&gt; Fima<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; nginx mailing list<br>
&gt; <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
&gt; <a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
<br>
<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br>