fedekau / ember-service-worker-race Goto Github PK
View Code? Open in Web Editor NEWPlugin for ember-service-worker implementing the race serving pattern
License: MIT License
Plugin for ember-service-worker implementing the race serving pattern
License: MIT License
The current implementation caches every GET request made, even the ones done by the app to load data (XHR requests).
May be an option could be added to ignore the requests made to certain URLs, but it would much better that the service worker could identify those requests automatically and don't cache them.
I came to this http://stackoverflow.com/questions/40583334/how-to-detect-whether-url-request-is-ajax-in-service-worker-fetch-api but I am not sure it would work ๐ค
In some projects assets/dependencies might need to be synchronized, that meaning that the version of them must be the same.
For example, if you have a new feature that updates file a.js
and b.js
and a.js
depends on b.js
if the first one is served from the network and the last one is served from the cache, then b.js
might not have the new code that a.js
needs to work leading to a broken feature/app.
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.