Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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