@Dave : , http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9, , Cache-control , . , , , () (. , 14.9.1).
@all: In addition, section 14.21 of the same document states that the Expires header set to 0 means βinvalid dateβ and may be ignored by clients. And my tests with sending an expiration date to 1 jan 1970 (timestamp 0) does not cause anything but ignoring IE (and ff, for that matter), which will still cache the response.
My solution was to send the current date for the Expires field, which the spec says.
lucaa source
share