Overview ColdFusion Open BlueDragon Lucee

Used to store a specific amount of content to cache, improving page rendering performance and server memory costs. Use this function when its not necessary to serve dynamic content with every page request. Cache duration can be specified to be any lenth of time using the CACHEDWITHIN attribute. Additionally, cache can be manually flushed by setting the ACTION attribute to 'flush' and the CACHENAME attribute to the name of the cached resource that you wish to flush.


Name Required Type Default Description
cachedwithin No The timespan (CreateTimeSpan) for the life of the content in the cache
name No The name of the cache
region No The type of cache to use; this can be any of the registered cache handlers