mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Remove cache for text files
This commit is contained in:
parent
b9919ef184
commit
b171001b38
@ -1,6 +1,7 @@
|
||||
async function getTextFromFileUrlAsync(url) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
var req = new XMLHttpRequest();
|
||||
req.setRequestHeader("Cache-Control: no-cache, no-store, must-revalidate")
|
||||
req.open("GET",url, true);
|
||||
req.onreadystatechange = function() {
|
||||
if (req.readyState == 4) {
|
||||
|
Loading…
Reference in New Issue
Block a user