You're running CF for the front end (cfm)? Or just for writing the files? CF has its own silly caching thing if that's the case. I would suggest setting up a staging area to sync to production. If your site is getting enough traffic to make this a problem, you probably should not be editing files directly on it. > -----Original Message----- > From: Jon Block [mailto:jon@xxxxxxxxxxxxxxxxxxxx] > Sent: Wednesday, March 16, 2005 2:02 PM > To: users@xxxxxxxxxxxxxxxx; 'Joshua Slive' > Subject: RE: [users@httpd] Most simple way to cache some static files? > > 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 --------------------------------------------------------------------- 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