cachedWithin has been added to the tags
cfhttp and it has also been added as an interface to Lucee so you can make your own
Supported with cffile and cfhttp
The possibility to cache the result of the tags
cfhttp has been added in Lucee 5 using the attribute
cachedWithin for these tags.
<cffile action="read" file="test.txt" variable="content" cachedWithin="request"/> <cfhttp url="https://lucee.org" name="http" cachedWithin="#createTimespan(0,0,0,10)#"/>
Interface for cachedWithin
Lucee 5 extends with an interface making it possible to make an extension for the
cachedWithin attribute in Java.
cachedWithin attributes supports two types,