Michael Schröpl: *Korrekter* Weg für CACHE-Verhinderung gesucht

Beitrag lesen

Hi Christian,

ich habs halt nur hier her, wo steht dass, wenn es kein Datumsformat, sondern nur Zahlen sind, die Anzahl der Sekunden gemeint ist:
http://selfhtml.teamone.de/html/kopfdaten/meta.htm#laden

maßgeblich ist allerdings eher

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21

, und der meint:

The format is an absolute date and time as defined by HTTP-date in section 3.3.1;
   it MUST be in RFC 1123 date format:
      Expires = "Expires" ":" HTTP-date
   HTTP/1.1 clients and caches MUST treat other invalid date formats,
   especially including the value "0", as in the past (i.e., "already expired").

Also im Klartext: "0" als Server zu senden, das ist falsch; aber "0" als Client nicht als "Vergangenheit" zu interpretieren, das ist auch falsch ...

Viele Grüße
      Michael

--
T'Pol: I apologize if I acted inappropriately.
V'Lar: Not at all. In fact, your bluntness made me reconsider some of my positions. Much as it has now.
(sh:| fo:} ch:] rl:( br:^ n4:( ie:% mo:) va:| de:/ zu:| fl:( ss:) ls:~ js:|)
Auch diese Signatur wird an korrekt konfigurierte Browser gzip-komprimiert übertragen.