feat: use StaleWhileRevalidate for scripts poloicy; v1.104.2

This commit is contained in:
Azgaar 2024-09-20 13:04:47 +02:00
parent d3ba6dd95b
commit 3d1f268003
5 changed files with 33 additions and 40 deletions

View file

@ -666,10 +666,7 @@ async function generate(options) {
title: "Generation error",
width: "32em",
buttons: {
"Clear data": function () {
localStorage.clear();
localStorage.setItem("version", VERSION);
},
"Cleanup data": cleanupData,
Regenerate: function () {
regenerateMap("generation error");
$(this).dialog("close");