Re: What expire value I should set?

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

 



howard chen wrote:
Hello,

Consider currently I am using mod_expire to set a HTML file to 15
minutes expire.

The file change quite frequently, sometime maybe changed within 15
minutes so I want my user to see the change as soon as possible...

Well, in that case set it to expire right away, or forbid caching.
The worst that could happen is that user's browsers would reload it each time. You have to know what's worse : having someone inadvertently re-use a version that was replaced 2 minutes ago, or having the page served again by your server even unnecessarily.

sometimes the file does not change even for 10 days!

So what expire value I should set?



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