Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scriptedalchemy/dynamic-resource-hints
Dynamically add preload browser hints at runtime
https://github.com/scriptedalchemy/dynamic-resource-hints
Last synced: 13 days ago
JSON representation
Dynamically add preload browser hints at runtime
- Host: GitHub
- URL: https://github.com/scriptedalchemy/dynamic-resource-hints
- Owner: ScriptedAlchemy
- License: mit
- Created: 2019-08-23T17:33:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-02T16:12:58.000Z (about 1 month ago)
- Last Synced: 2024-10-06T01:22:15.331Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 185 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dynamic Resource Hints
Inject resource hints into the browser on demand.
This plugin enables a you to preconnect, prefect, dns-prefetch, preload, and subresource load any web assets dynamically. The idea is to give the illusion of speed.
To read more about preloading, [read this](https://css-tricks.com/prefetching-preloading-prebrowsing/)
More Reading
- https://css-tricks.com/prefetching-preloading-prebrowsing/
- https://macarthur.me/posts/best-ish-practices-for-dynamically-prefetching-and-prerendering-with-javascript
- https://dev.chromium.org/developers/design-documents/dns-prefetching
- https://medium.com/reloading/preload-prefetch-and-priorities-in-chrome-776165961bbf