> I am curios as to what has been implemented by you for solutions 
> to resetting TRUSTED CACHE after you push code to a particular 
> web server.
> 
> It seems that we always have to restart the Cold Fusion 
> Service. Has anyone created a NT Command file to stop & restart 
> the CF Service that I could use?
> 
> Does changing the registry setting for Trusted Cache really 
> refresh the cache?

If you just change a few files, you can simply disable Trusted Cache from
within CF Administrator, request the changed files through the browser, then
reenable Trusted Cache. If you change many files, this becomes less
attractive, and you may want to cycle the CF service instead.

On NT, you can do that with a batch file like this:

net stop "Cold Fusion Executive"
net stop "Cold Fusion Application Server"
net start "Cold Fusion Application Server"
net start "Cold Fusion Executive"

Of course, when you cycle the CF service, you'll lose any benefits from the
cache that's been created up to that point, and generally you want to avoid
unnecessary cycling of CF on production servers, so you might simply want to
write a CF script that works through all of the files you want cached using
CFHTTP.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to