Re: [users@httpd] CacheLastModifiedFactor usage

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

 



Hi,
Have any of you used the CacheLastModifiedFactor ?
I am not able to predict the expiry time of my cache based on this factor.
I have files that do not have Expiry header set but have the lastModified header.

So I need to set the CacheLastModifiedFactor; else it will take the default value of 0.1.
Based on the documentation the
expiry date = current date + Hrs since last modified * CacheLastModifiedFactor.

This does not seem to make sense as the expiry date is going to vary with time?
If any of you have used and tested the mod_cache module, pls. let me know
your configuration. Any ideas/suggestions/corrections welcome.

Here is a part of my httpd.conf

  CacheEnable disk /xxx

  CacheRoot "/var/cache/mod_proxy"
  CacheSize 100000
  #CacheIgnoreCacheControl On
  #CacheIgnoreNoLastMod On
  CacheDefaultExpire 300
  CacheGcInterval 24
  CacheLastModifiedFactor 0.9
  CacheMaxExpire 420

Thks,
-Deepa


From: Joshua Slive <jslive@xxxxxxxxx>
Reply-To: Joshua Slive <jslive@xxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Config file
Date: Thu, 10 Mar 2005 16:30:12 -0500

On Thu, 10 Mar 2005 13:21:38 -0800, jay <jay@xxxxxxxxxxx> wrote:
> thanks, I checked the documentation and was wondering about the port issue.
> Since the internal will be on another port where will I put that info?

You gave the impression that you already knew how to setup the
internal/external sites, and just wanted help on the restrictions.  Do
you also need info on how to setup the two sites on different ports?
For that, you need a Listen directive for each port, and a
<VirtualHost> section for each port.  See the documentation for
IP-based virtual hosting.  (IP-based and port-based virtual hosting
are esentially identical.)

Joshua.

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




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