You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Deepa Rangarajan <de...@hotmail.com> on 2005/03/10 22:37:30 UTC
Re: [users@httpd] CacheLastModifiedFactor usage
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 <js...@gmail.com>
>Reply-To: Joshua Slive <js...@gmail.com>
>To: users@httpd.apache.org
>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 <ja...@dez-fam.com> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org