Transparent caching Backbone.sync to localStorage/sessionStorage