jQuery Cache Plugin

Jonathan Hendler

on

February 25, 2007

jQuery Cache Plugin

Warning: technical blog post!

I've made some open source code that helps speed up javascript applications that need to store a lot of data in a browser. This can make an application faster for the user and save server load and bandwidth. In the NINA project the infamous AJAX destroys back button issue was resolved. I moved on to create a local, javascript based cache using jQuery. (see attached file). The basic trick is that instead of using a persistant array - I use the DOM itself, with form elements. Notes:
  • I haven't used this with jquery.history.js
  • You can find more jQuery extensions here. http://docs.jquery.com/Plugins
  • Tested only on Windows IE7 and FireFox 1.5.x
AttachmentSize
jquery.cache_.js_.txt1.37 KB

Share it!