Re: way for me to turn off if-modified-since & always return 304 reply ?

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

 



Nope, there is no way you can prevent the client from sending you an IMS request. That is a browser prerogative, I suppose the best that you can do is bump up the Age and Expires headers that are returned along with the documents that your server delivers and hope that client browsers use that copy every-time. Even with that if the user refreshes the page, most browsers end up sending an IMS.

Thanks,
Manik

dave selby wrote:
Is there a way for me to turn off if-modified-since so the client
browser will ALWAYS use its locally cached document

ie from the definition below Apache always returns a 304 reply ?

"If-Modified-Since: date
This request header is used with GET method to make it conditional: if
the requested document has not changed since the time specified in
this field the document will not be sent, but instead a Not Modified
304 reply. "

I realise this is unusual but in my case very needed :)

Many thanks

Dave








---------------------------------------------------------------------
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