Therefore i didn't understand what mod_expires does!?

That mechanism i correct in case i don't use mod_expires, but i want to invalidate cache as soon as the client gets the file.
Did i misread mod_expires documentation? What mod_expires is used for then?

Nick Kew a écrit :

On Monday 21 November 2005 11:20, gregory duchesnes wrote:

But it does not change anything, my browser (Firefox 1.0.7) first get
the file normally from the server, but if i close the browser and try
and grab the file again, i get a HTTP 304 not modified code instead of
the HTTP 200 code i expected.

That's correct.  Your browser asked the server whether the document
has changed, and the server replied that it hasn't.  That's exactly how
HTTP is supposed to work.

If you had a long expiry time, your browser might have optimised
further by reusing its cached copy without bothering to ask the server.


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to