Comments (7)
1 hour seems short for a service such as this. Polyfills are rarely going to change except perhaps after a deployment, is there any reason in particular for 1 hour?
from polyfill-service.
We might release a new polyfill or a bugfix for an existing one, and then
the TTL will determine how quickly it rolls out. I'd say it should be a
day at the most.
from polyfill-service.
This thread does raise the question of versioning (in the URL). You don't want to be waiting an hour (or a day) for anything critical to be pushed out.
from polyfill-service.
Well, as long as the service doesn't prohibit random query string arguments, versioning on the URL is out of scope here. A product can use them, or not, as it likes. There is obviously a big cache efficiency implication to advising all developers to add them though.
from polyfill-service.
We could add a Last-Modified header and a shorter TTL?
from polyfill-service.
Last mod doesn't help predict when it will next change. Let's go with a day, Matt and co can use query string versions, and if versioning causes cache degradation, we can address that.
from polyfill-service.
Last mod is also hard to compute because the output is a bundle. You'd have to take the most recently modified polyfill in the bundle. Not worth it.
from polyfill-service.
Related Issues (20)
- Broken link from github repo HOT 1
- Manager
- no-version scenario changed, maybe? HOT 6
- Error loading polyfill from CDN - Cannot convert a Symbol value to a string HOT 3
- polyfill.io - 502 Bad Gateway HOT 2
- How to disclose Security Vulnerabilities HOT 4
- Polifill and google places API clash HOT 3
- Polyfill.io adding only requested features without adding additional polyfills that the browser needs
- HTML code displayed for some words in privacy policy
- Callback not returned in device simulation HOT 2
- Polyfill.io returns default feature set instead of the specified feature set when version specified first HOT 1
- Order of query parameters matter HOT 1
- ES2023: toReversed HOT 2
- No documentation on the main polyfill.io site.
- polyfill.io domain owner HOT 23
- Add Promise.withResolvers Polyfill HOT 2
- Polyfill.io JavaScript supply chain attack impacts over 100K sites HOT 8
- Polyfill.io JavaScript supply chain attack impacts over 100K sites HOT 10
- Building on a "not fastly" self hosted platform ? HOT 4
- Delete references to ES6 polyfill if you see them - they're not needed any more!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polyfill-service.