refactor: asset caching via query param (#192)

This updates the asset caching to use a cache busting query string,
rather than a totally separate path. This makes it safer to apply
caching automatically to things like `<img>` tags, as the path does not
change anymore.
This commit is contained in:
Luca Casonato
2022-05-16 17:39:22 +00:00
committed by GitHub
parent c28d2ff863
commit cf438a7879
6 changed files with 56 additions and 24 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ Deno.test({
assertEquals(res.status, 200);
// verify the island is revived.
const browser = await puppeteer.launch();
const browser = await puppeteer.launch({ args: ["--no-sandbox"] });
const page = await browser.newPage();
await page.goto("http://localhost:8000");