fetch-inject
Advanced tools
Comparing version 1.2.4 to 1.2.5
{ | ||
"name": "fetch-inject", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "Inline assets into the DOM using Fetch Injection.", | ||
@@ -5,0 +5,0 @@ "main": "lib/fetch-inject.js", |
@@ -18,3 +18,3 @@ # Fetch Inject | ||
## Quick Start | ||
## Installing | ||
@@ -25,3 +25,3 @@ Fetch Inject is available for testing purposes [via jsDelivr](http://www.jsdelivr.com/projects/fetch-inject), and for production via NPM and Bower. | ||
To try out Fetch Inject add the following to your document `head` and see the [Use Cases](#use-cases) to get a feel for what it can do: | ||
Add the following to your document `head` and see the [Use Cases](#use-cases) to get a feel for what it can do: | ||
@@ -34,6 +34,4 @@ ```html | ||
If you read the [background](#background) you'll understand why it's a bad idea to rely on remote resource requests when rendering your page. | ||
Grab the library from NPM with `npm i fetch-inject` or Bower with `bower install fetch-inject`. Recommended placement shown here: | ||
To install Fetch Inject for production, grab the library from NPM with `npm i fetch-inject` or Bower with `bower install fetch-inject` and inline the script below page `meta` and `async` scripts in your document `head`: | ||
```html | ||
@@ -40,0 +38,0 @@ <head> |
16913
225