You are on page 1of 1

<--- -------------------------------------------------------------------------------------- ---Blog Entry:

Using HTML5 Offline Application Cache Events In Javascript


Code Snippet:
2
Author:
Ben Nadel / Kinky Solutions
Link:
http://www.bennadel.com/index.cfm?event=blog.view&id=2029
Date Posted:
Oct 8, 2010 at 11:09 AM
---- -------------------------------------------------------------------------------------- --->
<!--- Param the page ID. --->
<cfparam name="url.id" type="numeric" default="0" />
<!--This page is being cached. Sleep the thread so that it gives us
enough time to observe the caching events.
--->
<cfset sleep( 1 * 1000 ) />
<!--- Return some content arbitrary test content. --->
<cfoutput>
I am sleeper page #url.id#.
</cfoutput>

You might also like