Cache Reporting
<cfimport prefix="cachebox" taglib="/cachebox/system/cache/report">
<--- Create CacheBox with default configuration --->
<cfif structKeyExists(url,"reinit") OR NOT structKeyExists(application,"cacheBox")>
<cfset application.cacheBox = new cachebox.system.cache.CacheFactory()>
<cfelse>
<cfset cachebox = application.cacheBox>
</cfif>
<cfoutput>
<html>
<head>
<title>CacheBox Monitor Tool</title>
</head>
<body>
<--- Special ToolBar --->
<div id="toolbar">
<input type="button" value="Reinit" onclick="window.location='index.cfm?reinit'"/>
</div>
<--- Render Report Here --->
<cachebox:monitor cacheFactory="#cacheBox#"/>
</body>
</html>
</cfoutput>
Reporting Attributes
Was this helpful?