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]

 



2008/9/12 Scott Gifford <sgifford@xxxxxxxxxxxxxxxx>:
> "dave selby" <dave6502@xxxxxxxxxxxxxx> writes:
>
>> Is there a way for me to turn off if-modified-since so the client
>> browser will ALWAYS use its locally cached document
>
> Dave,
>
> Usually sending an Expires header will tell browsers to mostly use a
> cached version.  I use something like this to set my expires time to
> quite a bit in the future:
>
>   <Directory /path/to/dir>
>      ExpiresActive On
>      ExpiresDefault A86400000
>   </Directory>
>
> This is part of mod_expires:
>
>    http://httpd.apache.org/docs/2.0/mod/mod_expires.html
>
> Also, it would really surprise me if Apache used the parent directory
> in deciding about IMS requests.  You might want to do some simple
> experiments to verify this is what it's doing.

Thank you, thats useful. Something odd is definitely happening.

That part of my app as of last night is in pieces (joys of software
development) but I am hopeing to rebuild it over the next couple of
days. I will do some experiments & repost here.

Cheers

Dave






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



-- 

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

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