Skip to content

Instantly share code, notes, and snippets.

@hmpmarketing
Created January 5, 2018 19:11
Show Gist options
  • Save hmpmarketing/496825d7f52ed15e2f54b95730194c35 to your computer and use it in GitHub Desktop.
Save hmpmarketing/496825d7f52ed15e2f54b95730194c35 to your computer and use it in GitHub Desktop.
val = cache.remember('key','value1',600,function(){
return 'value2';
});
console.log('set: '+val)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment