httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] in-core cache (mod_rewrite)?
Date Wed, 04 Aug 2004 13:35:46 GMT
On Wed, 4 Aug 2004 07:50:18 +1200 (NZST), Jason Morehouse
<jm@netconcepts.com> wrote:
> From http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html
> 
> "Note: For plain text and DBM format files the looked-up keys are cached
> in-core until the mtime of the mapfile changes or the server does a
> restart. This way you can have map-functions in rules which are used for
> every request.  This is no problem, because the external lookup only
> happens once!"
> 
> Is the "in-core cache" held in exclusively in memory, or does it get
> written to the disk if it gets too big?
> 

In memory.  There would be no point in caching it to disk because the
whole point of the cache is to avoid the disk access.

I don't recall whether there are limits on the size of the cache. 
You'd need to check the code.

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


Mime
View raw message