JavaScript prefetch Projects
-
Project mention: Lessons from open-source: Use window.trustedTypes to prevent DOM XSS. | dev.to | 2024-04-08
// https://github.com/GoogleChromeLabs/quicklink/blob/453a661fa1fa940e2d2e044452398e38c67a98fb/src/index.mjs#L115-L118 // License: Apache 2.0 let cn if ((cn = (navigator as any).connection)) { // Don't prefetch if using 2G or if Save-Data is enabled. if (cn.saveData || /2g/.test(cn.effectiveType)) return Promise.resolve() }
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
offline-first-sw
Service worker example with 404 handling, custom offline page and max TTL for specific file types.
NOTE:
The open source projects on this list are ordered by number of github stars.
The number of mentions indicates repo mentiontions in the last 12 Months or
since we started tracking (Dec 2020).
JavaScript prefetch discussion
JavaScript prefetch related posts
Index
# | Project | Stars |
---|---|---|
1 | quicklink | 11,062 |
2 | offline-first-sw | 92 |