I have a directory of folders containing javascript files. These javascript files are getting tons of requests. Periodically, I need to remove all of those files and rewrite the entire structure to the filesystem. I'm using ColdFusion MX directory and file functions called <CFFILE> and <CFDIRECTORY> to do this. Since there is so much traffic, I've been having trouble trying to delete and/or overwrite files that apache is reading from. I'm on Windows 2000 using Apache 2. Any ideas? Thanks, Jon -----Original Message----- From: Joshua Slive [mailto:jslive@xxxxxxxxx] Sent: Wednesday, March 16, 2005 1:23 PM To: users@xxxxxxxxxxxxxxxx; jon@xxxxxxxxxxxxxxxxxxxx Subject: Re: [users@httpd] Most simple way to cache some static files? On Wed, 16 Mar 2005 11:43:20 -0500, Jon Block <jon@xxxxxxxxxxxxxxxxxxxx> wrote: > 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. If this is your main problem, you should probably try dealing with this problem directly rather than implimenting some complicated caching thing. How are you trying to update the files? You should be using an atomic operation like "mv". 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- 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