ColdFusion Template Cache

This may seem obvious, but I always struggle to find the location where the class files are created by ColdFusion’s template cache.


One thing I noticed is when you click the “Clear Template Cache” button in the ColdFusion Administrator it does not remove these files, you should be able to delete them manually and have no problems.  Remember that in production environements where you won’t have many code updates, turn Trusted Cache on.  The benefit being that ColdFusion will no longer check if the template being requested has changed.  If you do make code changes, then you’d need to either manually clear the cache or restart ColdFusion to get the change picked up.
Additional Reading:
Tangling with the Template Cache

2 thoughts on “ColdFusion Template Cache”

Leave a Reply

Your email address will not be published. Required fields are marked *