nickyhajal / world-domination-summit

Code for the World Domination Summit
http://worlddominationsummit.com
3 stars 5 forks source link

Cache Assets on Client Side #37

Closed nickyhajal closed 10 years ago

nickyhajal commented 10 years ago

WDS.fm managed assets (templates, user objects, interest objects, etc) in local storage on the client. Each item has an expiration set in /app/routes/api/assets.coffee so GET /api/assets/ pulls and updates only what's necessary.

The new WDS.com has the foundations of this built but isn't currently caching locally.

This is needed particularly for templates, which are currently a negligible DL happening on every initial page-load.

nickyhajal commented 10 years ago

Happy to say this is finally in pretty good shape!