cache-busting-example icon indicating copy to clipboard operation
cache-busting-example copied to clipboard

Code clarification

Open Sabike-Raja opened this issue 6 years ago • 1 comments

Hi I want to know about how 'fetch('/meta.json')' is works.

Sabike-Raja avatar Oct 11 '19 16:10 Sabike-Raja

The Fetch API allows you to make HTTP requests. A basic fetch(url) call just performs a GET request to the specified url, in this case meta.json.

More about using fetch: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch

jordanwallwork avatar Jul 31 '20 11:07 jordanwallwork