Backbone fetch cache
JSON →A plugin for Backbone.js that caches results of Model.fetch and Collection.fetch calls in memory and localStorage. Version 2.0.1, updated as a stable release. It intercepts fetch calls and serves cached responses when options.cache is true, with configurable expiration. Key differentiator: provides 'prefill' option to populate models/collections from cache immediately then update via AJAX, improving perceived performance. Supports AMD and CommonJS. Requires Backbone >=1.0.0 and jQuery (or compatible Deferred implementation).
Resources
packagebackbone-fetch-cache ↗
API endpoints
full doc /v1/registry/backbone-fetch-cache