Created
June 30, 2018 17:21
-
-
Save furenku/8f4f0b166a9bbb0cfb74866efc79446c to your computer and use it in GitHub Desktop.
fetch sin cache
This file contains hidden or 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
var fetchHeaders = new Headers(); | |
fetchHeaders.append('pragma', 'no-cache'); | |
fetchHeaders.append('cache-control', 'no-cache'); | |
var fetchInit = { | |
method: 'GET', | |
headers: fetchHeaders, | |
}; | |
fetch('maquetas/article.html', fetchInit) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment