From 4dda9af78811b1dbcf4c6556ab86f5702f0c9cf3 Mon Sep 17 00:00:00 2001 From: bobbydigitales Date: Thu, 16 Apr 2026 21:35:46 -0700 Subject: [PATCH] Revert the server file watchign changes as I think they were not needed --- deno/ddln_server.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deno/ddln_server.ts b/deno/ddln_server.ts index bc0babd..25dc1e6 100644 --- a/deno/ddln_server.ts +++ b/deno/ddln_server.ts @@ -39,7 +39,7 @@ async function serveFile(filename: string) { const newResponse = await new Response(compressed); // const newResponse = await new Response(file); - newResponse.headers.set('Cache-Control', 'no-cache, no-transform'); + newResponse.headers.set('Cache-Control', 'no-transform'); newResponse.headers.set('Content-Encoding', 'br'); @@ -301,7 +301,6 @@ async function devServerWatchFiles() { const cachedPath = path.replace(parentDir, ''); filepathResponseCache.delete(cachedPath); console.log('Purging updated file:', cachedPath) - console.log(filepathResponseCache); } }