You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jon Block <jo...@collegepublisher.com> on 2005/03/16 17:43:20 UTC

[users@httpd] Most simple way to cache some static files?

I have a server that is getting a TON of traffic for some small static
javascript files. I want to cache them for 3 minutes each. After the 3
minutes is up, I'd want the server to cache each file again as it is called.
 
I want to do this becuase my server gets so much traffic, I'm having file
locking problems when I try to update the source files.
 
What's the easiest way to cache all of the javascript files in the following
example URL's??
 
http://www.example.com/javascriptcache/folder1/a.js
http://www.example.com/javascriptcache/folder2/a.js
http://www.example.com/javascriptcache/folder3/a.js
 
Disk based caching would be fine.
 
Jon


---------------------------------------------------------------------
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