Skip to content

Instantly share code, notes, and snippets.

@mape
Created July 27, 2010 16:12
Show Gist options
  • Select an option

  • Save mape/492434 to your computer and use it in GitHub Desktop.

Select an option

Save mape/492434 to your computer and use it in GitHub Desktop.
{"http://www.apple.com/magictrackpad/":true} {"key":"urlCache"}
{} {"key":"pageCache"}
[] {"key":"contentCache"}
{"key":"urlCache"}
{"http://www.apple.com/magictrackpad/":"www.apple.com/magictrackpad/","http://tinyurl.com/28l33rg":true} {"key":"urlCache"}
{"key":"pageCache"}
{"www.apple.com/magictrackpad/":{"count":1,"tweet":{"text":"Apple launches Magic Trackpad http://www.apple.com/magictrackpad/","name":"M. Gong","screen_name":"yobosensei","profile_image_url":"http://a0.twimg.com/profile_images/307619236/profile_normal.jpg","created_at":"a min ago"},"added":1280247061000,"tweeters":["yobosensei"],"title":"Apple - Magic Trackpad - The Multi-Touch trackpad for your desktop."}} {"key":"pageCache"}
{"key":"contentCache"}
[] {"key":"contentCache"}
{"key":"urlCache"}
{"http://www.apple.com/magictrackpad/":"www.apple.com/magictrackpad/","http://tinyurl.com/28l33rg":true,"http://bit.ly/bxLNIe":true} {"key":"urlCache"}
{"key":"pageCache"}
{"www.apple.com/magictrackpad/":{"count":1,"tweet":{"text":"Apple launches Magic Trackpad http://www.apple.com/magictrackpad/","name":"M. Gong","screen_name":"yobosensei","profile_image_url":"http://a0.twimg.com/profile_images/307619236/profile_normal.jpg","created_at":"a min ago"},"added":1280247061000,"tweeters":["yobosensei"],"title":"Apple - Magic Trackpad - The Multi-Touch trackpad for your desktop."}} {"key":"pageCache"}
{"key":"contentCache"}
[] {"key":"contentCache"}
{"key":"urlCache"}
{"http://www.apple.com/magictrackpad/":"www.apple.com/magictrackpad/","http://tinyurl.com/28l33rg":true,"http://bit.ly/bxLNIe":true,"http://ff.im/-om7FB":true} {"key":"urlCache"}
{"key":"pageCache"}
{"www.apple.com/magictrackpad/":{"count":1,"tweet":{"text":"Apple launches Magic Trackpad http://www.apple.com/magictrackpad/","name":"M. Gong","screen_name":"yobosensei","profile_image_url":"http://a0.twimg.com/profile_images/307619236/profile_normal.jpg","created_at":"a min ago"},"added":1280247061000,"tweeters":["yobosensei"],"title":"Apple - Magic Trackpad - The Multi-Touch trackpad for your desktop."}} {"key":"pageCache"}
{"key":"contentCache"}
[] {"key":"contentCache"}
{"key":"urlCache"}
{"http://www.apple.com/magictrackpad/":"www.apple.com/magictrackpad/","http://tinyurl.com/28l33rg":true,"http://bit.ly/bxLNIe":true,"http://ff.im/-om7FB":true,"http://bit.ly/b49T2h":true} {"key":"urlCache"}
{"key":"pageCache"}
{"www.apple.com/magictrackpad/":{"count":1,"tweet":{"text":"Apple launches Magic Trackpad http://www.apple.com/magictrackpad/","name":"M. Gong","screen_name":"yobosensei","profile_image_url":"http://a0.twimg.com/profile_images/307619236/profile_normal.jpg","created_at":"a min ago"},"added":1280247061000,"tweeters":["yobosensei"],"title":"Apple - Magic Trackpad - The Multi-Touch trackpad for your desktop."}} {"key":"pageCache"}
{"key":"contentCache"}
[] {"key":"contentCache"}
{"key":"urlCache"}
persistantCache.remove('urlCache', function(){console.log(arguments);});
persistantCache.save('urlCache', urlCache);
persistantCache.remove('pageCache', function(){console.log(arguments);});
persistantCache.save('pageCache', pageCache);
persistantCache.remove('contentCache', function(){console.log(arguments);});
persistantCache.save('contentCache', contentCache);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment