{"library":"backbone-fetch-cache","type":"library","category":null,"description":"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).","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","backbone","fetch","cache"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install backbone-fetch-cache","imports":["var fetchCache = require('backbone-fetch-cache');","require('backbone-fetch-cache');\n// Then use Backbone.fetchCache.*","require(['path/to/backbone.fetch-cache.js']);"]},{"cmd":"yarn add backbone-fetch-cache","imports":[]},{"cmd":"pnpm add backbone-fetch-cache","imports":[]}],"homepage":"https://github.com/madglory/backbone-fetch-cache#readme","github":"https://github.com/madglory/backbone-fetch-cache","docs":null,"changelog":null,"pypi":null,"npm":"backbone-fetch-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}