mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-25 13:41:50 +02:00
deploy: c085809936
This commit is contained in:
parent
cee6c0db4a
commit
8535c8d9a5
@ -10,7 +10,11 @@ var fileCache = function () {
|
|||||||
|
|
||||||
_cache = fileCache();
|
_cache = fileCache();
|
||||||
function getTextFromFileUrl(url,header={}) {
|
function getTextFromFileUrl(url,header={}) {
|
||||||
|
if (url in _cache) {
|
||||||
return _cache[url];
|
return _cache[url];
|
||||||
|
} else {
|
||||||
|
return async () => {await getTextFromFileUrlAsync(url)};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user