webrunes / storage-wrio-app Goto Github PK
View Code? Open in Web Editor NEWWRIO App
Home Page: https://storage.wrioos.com
License: Other
WRIO App
Home Page: https://storage.wrioos.com
License: Other
Please make sure
/srv/www/login/current/expire.sh
is working on daily basis.
Please initialize app on OpsWorks AWS.
Storage is the app responsible for any kind of storing operations for AWS, Dropbox, etc.
Create a user dir according webRunes/Login-WRIO-App#84 using app.
Only for chrome at this moment, FF and edge will be added soon. Seems we will add it above #14 to extend features:
https://ponyfoo.com/articles/simple-offline-site-serviceworker
http://www.html5rocks.com/en/tutorials/service-worker/introduction/
https://github.com/slightlyoff/ServiceWorker/blob/master/explainer.md
https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers
https://jakearchibald.com/2014/launching-sw-without-breaking-the-web/
https://css-tricks.com/serviceworker-for-offline/
https://adactio.com/journal/9775
https://jakearchibald.com/2014/using-serviceworker-today/
https://habrahabr.ru/post/261307/ [RU]
https://habrahabr.ru/post/279291/ [RU]
https://dev.opera.com/articles/offline-with-upup-service-workers/
https://remysharp.com/2016/03/22/the-copy--paste-guide-to-your-first-service-worker
https://github.com/GoogleChrome/sw-toolbox
Very good example https://offline-news-service-worker.herokuapp.com/
Source https://github.com/jakearchibald/offline-news-service-worker
Can be useful too
https://jakearchibald.github.io/trained-to-thrill/
source https://github.com/jakearchibald/trained-to-thrill
https://dev.opera.com/articles/offline-with-upup-service-workers/ maybe it's ok, but doesn't support ie, safari and mobile browsers.
Взять копию json-ld с
webrunes.com
и положить в Storage/hub, чтобы страница открывалась по
storage.wrioos.com
Please configure the app to deploy on s3 like it was done before for previous applications.
Please add appcache feature using surge
https://davidwalsh.name/dont-wait-serviceworker-adding-offline-support-oneline
for test for
https://github.com/webRunes/webrunes.com-WRIO-Hub
Please note, it must refresh after update.
More info can be found here
http://www.html5rocks.com/en/tutorials/appcache/beginner/
so travis must reupload manifest every time we change any file.
Please make fork and PR and add
<html manifest="https://webrunes.com/manifest.mf">
for all html files.
http://habrahabr.ru/post/117123/ пример сохранения textarea
Use localstorage version instead of ping server. Check opened file and refresh if it's outdated.
Сделать внутри storage proxy, который будет помогать скачивать проблемные странички.
Use localstorage version files instead of ping server. Check opened file and refresh if it's outdated.
We have to use Application Cache for all WRIO files: JS, images, css, fonts, etc. In addition store json-ld files into it, so app can work offline in read mode. We will add "Save" button for it.
http://www.slideshare.net/senthil_hi/app-cache-vslocalstorage
Please generate the manifest file dynamically. It's important to make sure that the generating script provides the correct MIME type. The browser does byte-to-byte comparison to determine if the cached manifest file is changed so it's not enough to re-save it to trigger a cache refresh. It's necessary to change the contents of the file which is why it is handy to have a comment with a version number in the file. Automate it via build script, more info there at GOTCHA#2:
http://alistapart.com/article/application-cache-is-a-douchebag
Use LocalStorage where it's preferable.
Login, Titter and webGold widgets must be inactive, just show
You're offline
somewhere for the moment.
Help links:
http://diveintohtml5.info/offline.html
https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers
https://developers.google.com/web/tools/service-worker-libraries/
https://html.spec.whatwg.org/#applicationcache
http://www.html5rocks.com/en/tutorials/appcache/beginner/ You must modify the manifest file itself to inform the browser to refresh cached files.
http://html5doctor.com/go-offline-with-application-cache/
http://labs.ft.com/2012/08/basic-offline-html5-web-app/
https://stackoverflow.com/questions/5829299/how-to-clear-application-cache-html5-feature-using-javascript
http://mobiforge.com/design-development/using-html5-application-cache-mobile-web-apps
http://alistapart.com/article/application-cache-is-a-douchebag example
http://habrahabr.ru/post/151815/ [RU]
https://developers.google.com/speed/docs/insights/LeverageBrowserCaching
http://stackoverflow.com/questions/6179159/accessing-localstorage-from-a-webworker
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.