Skip to content

Instantly share code, notes, and snippets.

@roryl
Last active June 6, 2016 12:54
Show Gist options
  • Save roryl/867f0cf936e3c2ccaf05125004777b0c to your computer and use it in GitHub Desktop.
Save roryl/867f0cf936e3c2ccaf05125004777b0c to your computer and use it in GitHub Desktop.
Lucee Cache Cluster
<cfdump var="#now()#" />
<cfscript>
writeDump(cacheGet(id="myTest", cacheName="mycache"));
</cfscript>
<cfscript>
cachePut(id="myTest", value={"time":now()}, cacheName="mycache");
writeDump(cacheGet(id="myTest", cacheName="mycache"));
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment