rezitech/stash — pull request #2 by tcha-tcho (2014-02-10 22:19:20+00:00)
Title: Tests and Cache plugin

Hi,

I did start a create a new plugin to stash and create some tests to the actual code. The new experimental plugin allow the user to save scripts, css and jsons on localstorage and use them whenever the user is on-line or off-line.

I did some testing and so far the things are working fine. Because the problem with cross-domain the test will only pass on safari and ios. But the general idea work as expected.

I hope this could help.

The general API is quite simple. You just need to change the 'src' to 'src-cache':

```html

```

Please, evaluate if its a good change for your code.

Is still missing the minified versions.

Thank you
Tcha-Tcho