-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f4276a5
commit 102a02b
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,23 +37,23 @@ const { setupCache } = require('axios-cache-interceptor/umd'); | |
## With CDN | ||
|
||
```html | ||
<!-- Development build (~12.4 KiB) --> | ||
<!-- Development build for ES2020+ (~11.3 KiB) --> | ||
<script | ||
src="https://cdn.jsdelivr.net/npm/[email protected].5/umd/dev.js" | ||
integrity="sha256-xIjKHhIfSz8UWokNvc19uUpKpgyScXiT6IODLPEPKlA=" | ||
src="https://cdn.jsdelivr.net/npm/[email protected].8/umd/dev.js" | ||
integrity="sha256-SZVzXptEUxn+mOVIPQPJRnGFmFV+/8prfTx2pMyrbeM=" | ||
crossorigin="anonymous" | ||
></script> | ||
|
||
<!-- Production for ES6+ (~10.4 KiB) --> | ||
<!-- Production for ES2017+ (~9.85 KiB) --> | ||
<script | ||
src="https://cdn.jsdelivr.net/npm/[email protected].5/umd/index.js" | ||
integrity="sha256-qhS8QSRF2iNnqxtAwe4NJ5v/kcxYsLvD0Jf3ss2iLpk=" | ||
src="https://cdn.jsdelivr.net/npm/[email protected].8/umd/index.js" | ||
integrity="sha256-FUDdb76oASr8kl/6iiNlz+W0yLLcmyS4L/+CGNWKTfo=" | ||
crossorigin="anonymous" | ||
></script> | ||
|
||
<!-- Production for ES5+ (~13.9 KiB) (Needs Promise polyfill) --> | ||
<script | ||
src="https://cdn.jsdelivr.net/npm/[email protected].5/umd/es5.js" | ||
src="https://cdn.jsdelivr.net/npm/[email protected].8/umd/es5.js" | ||
integrity="sha256-EzMv9XzLARcJMVDg0UrCT3r3+sMgnSriAI/nK1opXTI=" | ||
crossorigin="anonymous" | ||
></script> | ||
|
@@ -69,10 +69,10 @@ You can import any [CDN Url](#with-cdns) and use it in your code. **UMD Compatib | |
|
||
```js | ||
// ESM with Skypack CDN | ||
import { setupCache } from 'https://cdn.skypack.dev/[email protected].5'; | ||
import { setupCache } from 'https://cdn.skypack.dev/[email protected].8'; | ||
|
||
// UMD with JSDeliver CDN | ||
import { setupCache } from 'https://cdn.jsdelivr.net/npm/[email protected].5/umd/index.js'; | ||
import { setupCache } from 'https://cdn.jsdelivr.net/npm/[email protected].8/umd/index.js'; | ||
``` | ||
|
||
## Official support table | ||
|