httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah <>
Subject Re: [users@httpd] Most simple way to cache some static files?
Date Wed, 16 Mar 2005 17:50:42 GMT
On Wed, Mar 16, 2005 at 11:43:20AM -0500, Jon Block wrote:
> What's the easiest way to cache all of the javascript files in the following
> example URL's??
> Disk based caching would be fine.

You don't mention which version of Apache you're running; Apache 1.3 has
'mod_mmap_static' and Apache 2 has 'mod_cache' (and various submodules).
I can't vouch for the stability of those modules, however (someone else
may be able to do so). Two other potential solutions:

1) If you're running Linux, you can place TUX in front of your Apache 
instance (this requires patching your kernel and re-compiling it,

2) Place a second Apache instance in front of the main server running in
reverse proxy mode (or run Squid in the same way) and set the Cache
parameters accordingly.


<huey> dd of=/dev/fd0 if=/dev/flippy bs=1024
<huey> ^^^ Making Flippy Floppy

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message