ember-cli-holy-cache

0.0.9 • Public • Published

ember-cli-holy-cache

Holy-Cache stores all (RESTAdapter-)GET-Requests to Browser Session Storage.

Installation

ember install ember-cli-holy-cache

How To

For managing the cache add holy-cache-dash component somewhere in your template.

<!-- application.hbs -->
 
{{holy-cache-dash}}

Activate/Deactivate

All functionalities (including "Recording") depend on the active toggle-button in the holy-cache-dash component.

Recording

To start recording requests click the "Start recording" button. Please make sure you already activated the addon through your dash. When you finished recording you may click "Stop recording" and optionally also manage your recorded requests by clicking "Show manager".

When your done just refresh your tab and watch the result. Have Fun !

Restrictions

  • Holy-Cache will only work in development environments
 config.environment === 'development'
  • Holy-Cache does not save any other METHODS like POST, PUT and OPTION.
  • Holy-Cache store is bound to browser tabs. On opening a new browser tab your session will be empty.

Readme

Keywords

Package Sidebar

Install

npm i ember-cli-holy-cache

Weekly Downloads

1

Version

0.0.9

License

MIT

Last publish

Collaborators

  • rozbeh.sharahi