Hi,
This requires some amount of development work. We added an additional
header to the response header, X-Cache-Stat. In file mod_cache.c, the
following changes were made. The actual line numbers may differ
depending on your version of the code.
465a477,480
> /*mbenjamin: TCP_MISS
Hi Manik,
Can you explain how you did this?
Thanks
Andrew
2008/11/5 Manik Taneja <[EMAIL PROTECTED]>
> Andrew Dixon wrote:
>
>> Hi All,
>>
>> I have enabled mod_cache and I'm using mem caching (mod_mem_cache) as my
>> caching type, but how can I check if it is actually doing anything. Is there
Andrew Dixon wrote:
Hi All,
I have enabled mod_cache and I'm using mem caching (mod_mem_cache) as
my caching type, but how can I check if it is actually doing anything.
Is there anyway to see what is in the cache, being served from the
cache, what the cache hit rate is, etc...???
There isn'
On Sun, Mar 2, 2008 at 5:41 AM, <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have an issue with my mod_cache : its works perfectly for all my pages
> except
> my homepage !
> I have a website : http://www.mysite.com/ with an index.php
> if I call http://www.mysite.com/index.php : the cache works fin
On Jan 15, 2008 12:16 PM, Campbell, Lance <[EMAIL PROTECTED]> wrote:
> Joshua,
> There is? I did not know mod_cache would clear out content based on a
> higher level URL.
Ok. I see your point. But I think this type of mass-change to the
cache is much better performed out-of-band. In other words,
CTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua
Slive
Sent: Tuesday, January 15, 2008 10:37 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_cache
On Jan 15, 2008 10:51 AM, Campbell, Lance <[EMAIL PROTECTED]> wrote:
> I know you have a mechanism in place to clear
On Jan 15, 2008 10:51 AM, Campbell, Lance <[EMAIL PROTECTED]> wrote:
> I know you have a mechanism in place to clear a cache entry based on adding
> attributes to a headers requests. This just seems to be a much simpler
> approach to clearing cached content.
Hmmm... Inventing a new technique, new
Message-
From: Axel-Stephane SMORGRAV [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 09, 2008 11:15 AM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] mod_cache
Look at http://issues.apache.org/bugzilla/show_bug.cgi?id=19441
There you will find a patch against 2.0.59 that fixes
--
De : Campbell, Lance [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 9 janvier 2008 18:03
À : users@httpd.apache.org
Cc : Axel-Stephane SMORGRAV
Objet : RE: [EMAIL PROTECTED] mod_cache
You mentioned applying the fixes from 2.2 to 2.0. Would I get the source code
for mod_cache.so and mod_disk_cache.so fro
of Illinois
217.333.0382
http://webservices.uiuc.edu
-Original Message-
From: Axel-Stephane SMORGRAV [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 09, 2008 10:42 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_cache
Both the max-age=0 and the no-cache request
re Architect
Web Services at Public Affairs
University of Illinois
217.333.0382
http://webservices.uiuc.edu
-Original Message-
From: Axel-Stephane SMORGRAV [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 09, 2008 1:53 AM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTE
es at Public Affairs
University of Illinois
217.333.0382
http://webservices.uiuc.edu
-Original Message-
From: Axel-Stephane SMORGRAV [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 09, 2008 1:53 AM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] mod_cache
Yes you did.
http
Yes you did.
http://issues.apache.org/bugzilla/show_bug.cgi?id=19441
Many of the developers actively participate on this list also, so there is no
need to post to the dev list. If you believe you have found a problem you
should search Bugzilla for reports of problems similar to what you report
On 08/10/2007, Ian P. Christian <[EMAIL PROTECTED]> wrote:
> I'm proxying requests to a backend server, and using mod_cache to cache.
>
> I've noticed on the first request, I get the Server header from my
> backend, and every request that hits cache shows the frontend Server
> header, as below:
Pr
If you know what you are doing, you can turn on or more of the following cache
settings:
- CacheIgnoreCacheControl
- CacheIgnoreNoLastMod
AND limit the time during which the response may be cached with
- CacheMaxExpire
You should also add
- CacheIgnoreHeaders: S
On 8/11/07, wi <[EMAIL PROTECTED]> wrote:
> Once again, thanks for the reply!
>
> We've decided that we need the CacheIgnoreQueryString ability enough to go
> with the current source of the server. We built it last night per the
> developer instructions and have been testing it all day. It works we
Once again, thanks for the reply!
We've decided that we need the CacheIgnoreQueryString ability enough to go
with the current source of the server. We built it last night per the
developer instructions and have been testing it all day. It works well, so
we're going into production with it.
Is the
On 8/10/07, wi <[EMAIL PROTECTED]> wrote:
> Invalid command 'CacheIgnoreQueryString', perhaps misspelled or defined by a
> module not included in the server configuration
>
> This seems strange, since the server reports:
>
> Server version: Apache/2.2.4 (Unix)
> Server built: May 3 2007 13:07:1
Thanks for the prompt reply - much appreciated.
This confirmed what my experimentation showed, so I've come up with a
solution that, while not quite ideal, seems to be working.
I've created a rewrite matching the "user_score" portion of the uri, and
send only these requests to a new virtual host,
On 8/9/07, wi <[EMAIL PROTECTED]> wrote:
> Hi again
>
> I have a REST-based application that is getting quite loaded. I need to
> begin caching some dynamically generated png files that are created by the
> command:
>
> /users//games/user_score
>
> Ideally, I'd like to create a caching directive al
On 7/13/07, Icy Blind <[EMAIL PROTECTED]> wrote:
Although I've followed all the mod_cache (mem and disk) recipes I could
find, I still can't seem to get caching to work for my setup. Is there any
way to get some logging out of the caching modules so that I can see what's
going on?
Start by tur
Nope, nothing special at all. It's even the same way if I do something
like example.com/blah/. After searching Google, I think I'm the first
person to have this issue.
Matt
On Wed, 30 May 2007, Joshua Slive wrote:
> On 5/30/07, Matt Lehner <[EMAIL PROTECTED]> wrote:
> > That isn't being cached.
On 5/30/07, Matt Lehner <[EMAIL PROTECTED]> wrote:
That isn't being cached.
Are you doing anything fancy like mod_rewrite?
I don't see any explanation. There are some cache fixes going into the
next version of 2.2, but I'm not sure whether any of them would help
you.
Joshua.
That isn't being cached. I just hit / a few times, here's all I get:
[Wed May 30 19:38:34 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /
[Wed May 30 19:38:34 2007] [debug] mod_cache.c(136): Adding
CACHE_REMOVE_URL filter for /
[Wed May 30 19:38:38 2007] [debug] mod_cache.c(129): Ad
On 5/30/07, Matt Lehner <[EMAIL PROTECTED]> wrote:
Sorry, here's the http headers:
HTTP/1.1 200 OK
Date: Wed, 30 May 2007 23:28:01 GMT
Server: Apache/2.2.4
Last-Modified: Wed, 16 May 2007 20:21:33 GMT
ETag: "134003-2702-189fcd40"
Accept-Ranges: bytes
Content-Length: 9986
Cache-Control: max-age=3
Sorry, here's the http headers:
HTTP/1.1 200 OK
Date: Wed, 30 May 2007 23:28:01 GMT
Server: Apache/2.2.4
Last-Modified: Wed, 16 May 2007 20:21:33 GMT
ETag: "134003-2702-189fcd40"
Accept-Ranges: bytes
Content-Length: 9986
Cache-Control: max-age=300
Expires: Wed, 30 May 2007 23:33:01 GMT
Content-Typ
Here's the log for no index in the URL:
[Tue May 15 15:53:41 2007] [debug] mod_cache.c(129): Adding CACHE_SAVE
filter for /
[Tue May 15 15:53:41 2007] [debug] mod_cache.c(136): Adding
CACHE_REMOVE_URL filter for /
That will just keep repeating, nothing ever shows up as being served.
And with:
On 5/30/07, Matt Lehner <[EMAIL PROTECTED]> wrote:
I'm doing some testing with mod_cache, using disk cache. What I've noticed
is that if I hit example.com/index.*, it will cache it and serve it
from the cache as well. However, if I just go to http://www.example.com,
it isn't cached.
This happens
On 2/14/07, Eric Covener <[EMAIL PROTECTED]> wrote:
Has anyone looked at how applicable to 2.0.x the 10 bullets in the
"what can be cached" section of the following document:
http://httpd.apache.org/docs/2.2/caching.html
Any key differences jump out for anyone?
Other than the fact that cachin
On Fri, May 19, 2006 at 06:43:28PM -0400, Joshua Slive wrote:
> >When I first start up Apache files are cached. But, once they expire
> >then they are no longer cached and *always* fetch from the back end
> >server. It's as if the front end mod_cache server is not updating
> >it's Expires date.
>
On 5/19/06, Bill Moseley <[EMAIL PROTECTED]> wrote:
Is there a better list to use for questions about core modules?
Nope. This is the one.
When I first start up Apache files are cached. But, once they expire
then they are no longer cached and *always* fetch from the back end
server. It's
If this is really an issue, you could write a script (using curl) that requests
all of the images through you caching (reverse?) proxy in order to prime the
cache...
-ascs
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 09, 2006 3:36 AM
T
IETF RFC2616 (www.ietf.org)
-ascs
-Original Message-
From: Michael Conlen [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 5:19 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] mod_cache
I'm considering using mod_cache for a server but I haven't seen any
documentation on ho
On 5/1/06, Michael Conlen <[EMAIL PROTECTED]> wrote:
I'm considering using mod_cache for a server but I haven't seen any
documentation on how the cache handles updated files. Some of the
files are updated on a semi-regular basis and the majority of it is
never updated (though may be deleted).
ca
rsday, March 09, 2006 10:34 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_cache: CacheDefaultExpire is ignored?
Thanks for the explanation! At least this means that the description of
CacheDefaultExpire is somewhat misleading , I think.
I don't use a reverse proxy and I h
Thanks for the explanation! At least this means that the description of
CacheDefaultExpire is somewhat misleading , I think.
I don't use a reverse proxy and I have little control over the output
from the CGI program, but maybe mod_expires or mod_headers can add the
header before mod_cache eval
The problem is that the response contains no cache validator: no Last-Modified,
no E-Tag. If it contains no cache validator, it must contain an explicit
expiry date in order to be cacheable. Look at sections 13.3 and 13.4 of RFC
2616.
Your problem is typical of files generated by a servlet, or
On 12/19/05, Henning Meyer <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I still have the problem that script-generated images do not get cached.
>
> I run apache 2.0.54-5 inside Debian Sarge with mod_fastcgi 2.4.0-5.
> What do I need in my configuration to get images cached by mod_cache?
> I tought this
On 12/9/05, Dick Snippe <[EMAIL PROTECTED]> wrote:
> we use apache-2.0.x as a reverse caching proxy, using mod_cache,
> mod_mem_cache, mod_proxy and mod_proxy_http.
It wouldn't surprise me terribly if mod_mem_cache was broken in 2.2.
It has received much less TLC than mod_disk_cache. Given the l
I do something similar but the only way I have been able to make it work is by
doing a "subrequest", i.e. having the VH make a request to itself (or another
VH for that matter)
Here is an example to give you the general idea, at the expense of an extra
HTTP request:
# RewriteCond to brea
On 11/23/05, Luc Levesque <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Let me start off by apologizing if this list doesn't handle questions
> like this but I hoped it might seeing as it's about standard Apache modules.
>
> We currently run mod_rewrite successfully on this URL:
>
> /travel/Unite
I use
mod_cache very extensively with Apache 2.0.49 and 2.0.54.
With
2.0.49 we had no problems with neither disk cache or memory cache. In
Apache 2.0.54 we had to drop using memory cache because of a bug that made the
server coredump.
In my
experience it works very well, but you need to
On 10/19/05, Praveen Alavilli <[EMAIL PROTECTED]> wrote:
> Hi Guys,
> Just wanted to find out if anyone is using mod_cache and what their
> experiences are. The web site says it's still in experimental mode - though
> the page might be an outdated one.
At apache.org, we use mod_cache to front-en
ent: Thursday, August 25, 2005 2:04 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] mod_cache and conditional disabling
>
> On Thu, Aug 25, 2005 at 01:56:07PM +0200, Axel-Stéphane SMORGRAV wrote:
>> OK What about this, at the expense of an additional GET :
>>
Uh, yeah. T'was the other way around.
Well: Houston, we've got a solution !
-ascs
-Original Message-
From: Colm MacCarthaigh [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 25, 2005 2:04 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_cache and conditional
On Thu, Aug 25, 2005 at 01:56:07PM +0200, Axel-Stéphane SMORGRAV wrote:
> OK What about this, at the expense of an additional GET :
>
>
>RewriteCond %{HTTP_COOKIE} MYCOOKIE
>RewriteRule ^(.*)$ http://cache.foo.bar$1 [P]
>
>ProxyPassReverse / http://cache.foo.bar/
>
>ProxyPass
/
ProxyPass / http://backend.foo.bar/
ProxyPassReverse / http://backend.foo.bar/
CacheEnable /
-Original Message-
From: Colm MacCarthaigh [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 25, 2005 10:35 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_cache and
On Thu, Aug 25, 2005 at 10:30:19AM +0200, Axel-Stéphane SMORGRAV wrote:
> It is possible by doing a bit of rewriting and tweaking of URLs.
>
> Here's the general idea:
>
> RewriteCond %{HTTP_COOKIE}MYCOOKIE
> RewriteRule ^(.*)$ /DONTCACHE$1
>
> ProxyPass /DONTCACHE http://backend.foo.bar/
>
It is possible by doing a bit of rewriting and tweaking of URLs.
Here's the general idea:
RewriteCond %{HTTP_COOKIE} MYCOOKIE
RewriteRule ^(.*)$ /DONTCACHE$1
ProxyPass /DONTCACHE http://backend.foo.bar/
ProxyPassReverse /DONTCACHE http://backend.foo.bar/
CacheDisable /DONTCACHE
or somet
On Thu, Aug 25, 2005 at 04:03:53PM +1000, Steve McInerney wrote:
> As part of implementing a short term performance improvement, we're
> looking at using a caching reverse proxy.
>
> In essence we need to be able to disable mod_cache on a reverse proxy
> configuration for certain classes of users
50 matches
Mail list logo