Backbone fetch cache

JSON →
library 2.0.1 ·javascript
verified Jun 7, 2026

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).