Hi everyone, We were using a file-based caching system doing SSI (server side include) based on <cfinclude> (to cache sections of pages).
The problem with cfinclude : it performs a dynamic SSI, not a static SSI. Even if you include an html page, it will be still parsed and considered as a ColdFusion template. The results : with trusted cache turned on, it will never serve new includes... (even if you delete the html cache file). In order to solve this problem, we are now using <cffile action="read"> and <cfoutput> to include the content of the html cache file. My questions are : 1. Is there a more efficient way to perform a static SSI with CF? 2. Don't you think that a new attribute to <cfinclude> could be added : <cfinclude template="..." mode="dynamic"> (default, dynamic SSI for CF pages, included content is parsed and executed) or <cfinclude template="..." mode="static"> (static SSI, content is not parsed, just included) Benoit Hediard ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm