On 5/4/05, Al Everett <[EMAIL PROTECTED]> wrote: > On 5/4/05, Dave Carabetta <[EMAIL PROTECTED]> wrote: > > 1) Turn off trusted cache > > 2) Copy out your files and run the new pages so CF compile them, etc. > > 3) Turn on trusted cache > > > > No need to restart your server at all in my experience. > > Sounds simple enough. I just know that there are circumstances where > one or more templates that's been changed will be very rarely touched > and will be hard to get to in normal testing. I guess I was hoping > there was a way I could just clear the cache so CF will just treat all > pages as new and will compile them. Would deleting my .class files > accomplish such a thing? (I've got CFMX 6.1 and 7 installations here.) >
Well CF 7 has an option in the Administrator under "Caching" to "Clear Template Cache Now". That should take care of that. However, as far as 6.1 goes, it would make sense that blowing away the class files would force a re-compile, though I've not tried that specifically. Depending on the size of your site though, that might be overkill if it's just a few templates you're updating. Further, if you do go ahead an manually delete the cache in 6.1, make sure you blow away the files in the *cfclasses* directory and not the *classes* directory! Regards, Dave. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205587 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

