RE: Intelligent/automatic cache expiry based on mtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ExpiresByType image/jpeg "modification plus 120 seconds"


-ascs
 
-----Message d'origine-----
De : Jergen Dutch [mailto:jergendutch@xxxxxxxxx] 
Envoyé : vendredi 7 décembre 2007 13:02
À : users@xxxxxxxxxxxxxxxx
Objet : Re:  Intelligent/automatic cache expiry based on mtime

On Dec 7, 2007 11:25 AM, Axel-Stephane  SMORGRAV <Axel-Stephane.SMORGRAV@xxxxxxxxxxxxxx> wrote:
> Sorry for being crude, but why don't you just read the manual (mod_expires) ??
>
> ExpiresByType image/jpeg "modification plus 1 day"

Because this is doing something different to what I want.
Your suggestion would expire content a day after the mtime. See my original message.

> I cannot recall that RFC2616 specifies exactly how the e-tag is computed, so I do not think that you can assume that the modification date will necessarily be part of the e-tag computation.

The documentation says mtime is included in calculating the etag by default in apache.

>
> -ascs

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux