[EMAIL PROTECTED] mod_disk_cache cache sharing with NFS

2008-04-15 Thread Guillaume Duchesneau
Hi, We are planning to use Apache mod_disk_cache to cache urls that do not need to be updated very often (once every day maybe). We anticipate that we could have a large number of different urls (> 100K) that could be invoked a few times every day (say 10 to 20 times each). Our production enviro

RE: [EMAIL PROTECTED] mod_disk_cache

2008-01-08 Thread Axel-Stephane SMORGRAV
2.2.4 against a test suite of my own, and it passed all the tests that failed with 2.0. -ascs -Message d'origine- De : Campbell, Lance [mailto:[EMAIL PROTECTED] Envoyé : mardi 8 janvier 2008 19:32 À : users@httpd.apache.org Cc : [EMAIL PROTECTED] Objet : RE: [EMAIL PROTECTED] mod

RE: [EMAIL PROTECTED] mod_disk_cache

2008-01-08 Thread Campbell, Lance
Slive Sent: Monday, January 07, 2008 11:27 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_disk_cache On Jan 7, 2008 12:12 PM, Campbell, Lance <[EMAIL PROTECTED]> wrote: > Joshua, > I don't understand what you are saying. Is there some command parameter > you

Re: [EMAIL PROTECTED] mod_disk_cache

2008-01-07 Thread Joshua Slive
On Jan 7, 2008 1:31 PM, Campbell, Lance <[EMAIL PROTECTED]> wrote: > It works! Thanks! > > They really need to add that to the apache documentation. There's a lot of stuff about mod_cache that is not explicitly documented. This is because mod_cache is supposed to be a fairly strict implementation

RE: [EMAIL PROTECTED] mod_disk_cache

2008-01-07 Thread Campbell, Lance
PROTECTED] On Behalf Of Joshua Slive Sent: Monday, January 07, 2008 11:27 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_disk_cache On Jan 7, 2008 12:12 PM, Campbell, Lance <[EMAIL PROTECTED]> wrote: > Joshua, > I don't understand what you are saying. Is there some

Re: [EMAIL PROTECTED] mod_disk_cache

2008-01-07 Thread Joshua Slive
On Jan 7, 2008 12:12 PM, Campbell, Lance <[EMAIL PROTECTED]> wrote: > Joshua, > I don't understand what you are saying. Is there some command parameter > you can send to htcacheclean or is there a special way of formatting the > requested cached URL that will cause it to be refreshed? Just make a

RE: [EMAIL PROTECTED] mod_disk_cache

2008-01-07 Thread Campbell, Lance
Sent: Monday, January 07, 2008 10:46 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_disk_cache On Jan 7, 2008 12:59 AM, Campbell, Lance <[EMAIL PROTECTED]> wrote: > > > > > httpd-2.0.59 > > > > Does mod_disk_cache support a mechanism that one can

Re: [EMAIL PROTECTED] mod_disk_cache

2008-01-07 Thread Joshua Slive
On Jan 7, 2008 12:59 AM, Campbell, Lance <[EMAIL PROTECTED]> wrote: > > > > > httpd-2.0.59 > > > > Does mod_disk_cache support a mechanism that one can request a particular > URL to have its content refreshed? Sure, if you send the appropriate Cache-Control headers on your request, you should forc

[EMAIL PROTECTED] mod_disk_cache

2008-01-06 Thread Campbell, Lance
httpd-2.0.59 Does mod_disk_cache support a mechanism that one can request a particular URL to have its content refreshed? I know you can delete the entire disk cache root and it will then refresh the content. But is there a way to just request that a particular URL be refreshed within the

RE: [EMAIL PROTECTED] mod_disk_cache and mod_rewrite

2007-10-08 Thread Axel-Stephane SMORGRAV
: Vincent Bray [mailto:[EMAIL PROTECTED] Envoyé : lundi 8 octobre 2007 10:38 À : users@httpd.apache.org Objet : Re: [EMAIL PROTECTED] mod_disk_cache and mod_rewrite On 08/10/2007, Janne Kario <[EMAIL PROTECTED]> wrote: > The problem is that mod_rewrite and mod_disk_cache don't a

Re: [EMAIL PROTECTED] mod_disk_cache and mod_rewrite

2007-10-08 Thread Vincent Bray
On 08/10/2007, Janne Kario <[EMAIL PROTECTED]> wrote: > The problem is that mod_rewrite and mod_disk_cache don't appear to well > together and mod_disk_cache seems to ignore all that mod_rewrite does. I've found that to be a problem too. In my case, I used a reverse proxy on the rewrite rule to se

[EMAIL PROTECTED] mod_disk_cache and mod_rewrite

2007-10-08 Thread Janne Kario
Hi. We are using a combination of mod_disk_cache and mod_rewrite in front of our portal to achieve setup where 1) Logged in administration users see live uncached view of the site 2) Normal users see a version served from the Apache (2.2.3) cache (120 sec delay) The problem is that mod_rewr

Re: [EMAIL PROTECTED] mod_disk_cache with mod_deflate not sending If-Modified-Since to tomcat webapp

2007-05-23 Thread Ion Alexandru Morega
On 24 May 2007, at 00:56, Joshua Slive wrote: On 5/23/07, Ion Alexandru Morega <[EMAIL PROTECTED]> wrote: On 13 May 2007, at 16:05, Ion Alexandru Morega wrote: > Hi. > > I'm having trouble using mod_cache/mod_disk_cache and mod_deflate > at the same time. There's some patches committed to th

Re: [EMAIL PROTECTED] mod_disk_cache with mod_deflate not sending If-Modified-Since to tomcat webapp

2007-05-23 Thread Joshua Slive
On 5/23/07, Ion Alexandru Morega <[EMAIL PROTECTED]> wrote: On 13 May 2007, at 16:05, Ion Alexandru Morega wrote: > Hi. > > I'm having trouble using mod_cache/mod_disk_cache and mod_deflate > at the same time. There's some patches committed to the trunk (development) version of mod_cache that f

Re: [EMAIL PROTECTED] mod_disk_cache with mod_deflate not sending If-Modified-Since to tomcat webapp

2007-05-23 Thread Ion Alexandru Morega
On 13 May 2007, at 16:05, Ion Alexandru Morega wrote: Hi. I'm having trouble using mod_cache/mod_disk_cache and mod_deflate at the same time. My setup is like this: one Tomcat 5.5 webapp, Apache 2.2.3 + mod_jk 1.2.18. The intent is to cache pages generated by the webapp; as long as the p

[EMAIL PROTECTED] mod_disk_cache with mod_deflate not sending If-Modified-Since to tomcat webapp

2007-05-13 Thread Ion Alexandru Morega
Hi. I'm having trouble using mod_cache/mod_disk_cache and mod_deflate at the same time. My setup is like this: one Tomcat 5.5 webapp, Apache 2.2.3 + mod_jk 1.2.18. The intent is to cache pages generated by the webapp; as long as the page content is not changed, pages should be served from

Re: [EMAIL PROTECTED] mod_disk_cache stores the result without HTTP compression

2006-10-31 Thread Joshua Slive
On 10/31/06, KevinK <[EMAIL PROTECTED]> wrote: I am using Apache 2.0.55 with mod_disk_cache and mod_deflate. When a user who supports HTTP compression gets the same URL twice, they get it with HTTP compression the first time, but without compression on subsequent times when it gets served from

[EMAIL PROTECTED] mod_disk_cache stores the result without HTTP compression

2006-10-31 Thread KevinK
I am using Apache 2.0.55 with mod_disk_cache and mod_deflate. When a user who supports HTTP compression gets the same URL twice, they get it with HTTP compression the first time, but without compression on subsequent times when it gets served from the cache. The data file in the cache reveals th

RE: [EMAIL PROTECTED] Mod_disk_cache| Struggling to configure

2005-12-02 Thread Axel-Stéphane SMORGRAV
TED] Sent: Wednesday, November 30, 2005 5:52 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Mod_disk_cache| Struggling to configure I am currently using apache 'httpd-2.0.52'. I can't change the version for some reasons. Tried to hit the application from another machin

Re: [EMAIL PROTECTED] Mod_disk_cache| Struggling to configure

2005-11-30 Thread Joshua Slive
On 11/29/05, Arindam Bhattacharjee <[EMAIL PROTECTED]> wrote: > I am currently using apache 'httpd-2.0.52'. I can't change the version > for some reasons. I'm not personally interested in trying to debug mod_cache problems with an old version like that. Too much work has gone into the module sinc

RE: [EMAIL PROTECTED] Mod_disk_cache| Struggling to configure

2005-11-29 Thread Arindam Bhattacharjee
shua Slive [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 9:19 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Mod_disk_cache| Struggling to configure On 11/29/05, Arindam Bhattacharjee <[EMAIL PROTECTED]> wrote: > The logs are showing me something like &

Re: [EMAIL PROTECTED] Mod_disk_cache| Struggling to configure

2005-11-29 Thread Joshua Slive
On 11/29/05, Arindam Bhattacharjee <[EMAIL PROTECTED]> wrote: > The logs are showing me something like > [Wed Nov 30 09:04:30 2005] [debug] mod_cache.c(506): cache: > /images/map/Transport_icon_Air.gif not cached. Reason: HTTP Status 304 > Not Modified > > Not sure what it means and what is the rem

RE: [EMAIL PROTECTED] Mod_disk_cache| Struggling to configure

2005-11-29 Thread Arindam Bhattacharjee
-Original Message- From: Joshua Slive [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 29, 2005 8:15 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Mod_disk_cache| Struggling to configure On 11/29/05, Arindam Bhattacharjee <[EMAIL PROTECTED]> wrote: > I am new to configu

Re: [EMAIL PROTECTED] Mod_disk_cache| Struggling to configure

2005-11-29 Thread Joshua Slive
On 11/29/05, Arindam Bhattacharjee <[EMAIL PROTECTED]> wrote: > I am new to configuring disk cache. Here are the directives I am using. > > > > #LoadModule disk_cache_module modules/mod_disk_cache.so > > > > CacheEnable disk / > > CacheRoot "/var/ap

[EMAIL PROTECTED] Mod_disk_cache| Struggling to configure

2005-11-29 Thread Arindam Bhattacharjee
Hi All,   I am new to configuring disk cache. Here are the directives I am using.       #LoadModule disk_cache_module modules/mod_disk_cache.so         CacheEnable disk /     CacheRoot "/var/apps/cache"     CacheDirLevels 5   

Re: [EMAIL PROTECTED] mod_disk_cache config help

2005-11-03 Thread Xuekun Hu
> Sounds like a small bug. But it also sounds like it could be fixed > simply by reversing the order of the two directives in the config > file. > How about this config CacheDirLevels 11 CacheDirLength 1 Though nobody wouldn't config like that. > Incidentally, why do you want to fool around

Re: [EMAIL PROTECTED] mod_disk_cache config help

2005-11-03 Thread Joshua Slive
On 11/3/05, Xuekun Hu <[EMAIL PROTECTED]> wrote: > I looked at the source code and unstood why this error was happened > because when first setting CacheDirLength value, CacheDirLevels wasn't > be set, and used the default value 3. So 7*3 is higher than 20. > > Now in my instance, the DirLength has

[EMAIL PROTECTED] mod_disk_cache config help

2005-11-03 Thread Xuekun Hu
I have been puzzled by the help doc of mod_disk_cache config that " CacheDirLevels*CacheDirLength value must not be higher than 20". When I set this value CacheRoot /usr/local/apache/cache/ CacheDirLength 7 CacheDirLevels 2 This error "CacheDirLevels*CacheDirLength value must not be high