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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux