8 Commits

Author SHA1 Message Date
Nick Martin
b2bf406e55 Only cache assets with a cache-busting parameter. Use fallback to access these when offline. 2013-03-06 16:41:56 -08:00
Andrew Wilcox
f72f366e20 appcache docs and tweak warning message 2013-02-22 18:38:41 -08:00
Andrew Wilcox
43282254a1 Fix syntax error in appcache-server.
Ouch.
2013-02-21 18:41:53 -08:00
Andrew Wilcox
2500312cd5 Allow static resources to be configured as online only.
Add a route policy type "static-online" for files in public/ that
shouldn't be cached offline.

Put "static-online" files in the manifest NETWORK section instead of
in the CACHE section.
2013-02-21 18:41:53 -08:00
Andrew Wilcox
1bbbe2901f add missing semicolon 2013-02-21 18:41:53 -08:00
Andrew Wilcox
6ed6e8ce17 appcache code review changes 2013-02-21 18:41:53 -08:00
Andrew Wilcox
6bea9656d6 Avoid calling readFileSync at runtime. 2013-02-21 18:41:53 -08:00
Andrew Wilcox
9c55aeeb97 appcache package
This code depends on PR 680.  In addition, the docs include a link to
the proposed AppCache wiki page.

Adds the appcache smart package and associated documentation.

QA notes are in packages/appcache/QA.md (Is this a good place to put
them?)
2013-02-21 18:41:53 -08:00