Comments (3)
A short term fix is to have users host the analytics.js script themselves.
Are there any gotchas to them self-hosting?
from workbox.
No big gotchas; here are the primary downsides I see:
- When you self-host you don't get updates/bug fixes.
- When you self-host you miss out on the fact that visitors to your site likely already have the analytics.js script in their cache (since it's used on so many sites on the internet).
from workbox.
On further investigation, it is actually working when served from the cache, as <script>
resources don't require CORS.
from workbox.
Related Issues (20)
- Background sync and React HOT 3
- workbox-webpack-plugin InjectManifest missing a lot of files
- TypeScript type mismatch for `directoryIndex` option in `precacheAndRoute`
- Maxxela HOT 1
- Memory leak vulnerability by inflight package HOT 1
- Feature request: A way to store and read current version of PWA app.
- Max cela
- Support algorithms other than MD5
- Some files not being cached in workbox-webpack-plugin | react HOT 2
- Request to clarify documentation Stale-While-Revalidate
- Missing proper 'Get started' docs HOT 3
- 3.99888
- Multiple service worker updates do not result in multiple `waiting` events
- Avoid precaching newer contents for old revisions
- Audio/Video element with preload can lead to precaching getting a 206 response and crashing HOT 8
- Support adding plugins to `workbox-precaching` from `workbox-build` `generateSW`
- CacheableResponsePlugin does ignore a specified header while routing a request
- A question mark at the end of a route causes precached route to not match
- non-precached-url :: [{"url":"/"}]
- Long queue time on the initial index.html request during SW update with heavy precache HOT 1
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 workbox.