Git Product home page Git Product logo

Comments (7)

AlexeyAnshakov avatar AlexeyAnshakov commented on August 17, 2024

Make pull request to a new branch and name it as "offline".

from storage-wrio-app.

AlexeyAnshakov avatar AlexeyAnshakov commented on August 17, 2024

Please note we have to use localstorage start.js version if we have one in it.

from storage-wrio-app.

AlexeyAnshakov avatar AlexeyAnshakov commented on August 17, 2024

http://addyosmani.com/basket.js/ looks interesting, but works only for js and css:
addyosmani/basket.js#71

https://github.com/mozilla/localForage
https://hacks.mozilla.org/2014/02/localforage-offline-storage-improved/
http://html5.by/blog/localforage/ [RU]
https://habrahabr.ru/company/nordavind/blog/212709/ [RU]

http://pouchdb.com/

https://github.com/tantaman/LargeLocalStorage we can use it later for big amount of data.

http://www.sitepoint.com/how-to-improve-loading-time-with-basket-js/ more info
http://stackoverflow.com/questions/23817391/script-caching-with-basket-js-am-i-doing-something-wrong
http://stackoverflow.com/questions/23620514/jquery-and-basket-js-cache

https://github.com/agektmr/PortableCache, http://webreflection.blogspot.com.by/2012/06/asynchronous-storage-for-all-browsers.html or https://github.com/nodeca/bag.js can be used for heavy resources like images.

from storage-wrio-app.

AlexeyAnshakov avatar AlexeyAnshakov commented on August 17, 2024

Please keep in mind "Known issues"
http://caniuse.com/#search=localstorage

from storage-wrio-app.

AlexeyAnshakov avatar AlexeyAnshakov commented on August 17, 2024

We have to implement the ability to rewrite outdated files: the best is is to let server push updates
http://w3c.github.io/push-api/
and rewrite outdated without pinging server from time to time. We can use

Manually validate items in cache

http://www.sitepoint.com/how-to-improve-loading-time-with-basket-js/

from storage-wrio-app.

AlexeyAnshakov avatar AlexeyAnshakov commented on August 17, 2024

@michbil FYI, we have to choose best option to make offline-first application. All js, css, json-ld, images have to be stored to make WRIO OS fast and offline friendly.

from storage-wrio-app.

AlexeyAnshakov avatar AlexeyAnshakov commented on August 17, 2024

#89
#88

from storage-wrio-app.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.