From 5755b02b3869e04b153c6cdfd1876a19e2546a05 Mon Sep 17 00:00:00 2001 From: Artem Tsyrulnikov Date: Thu, 26 Mar 2026 00:14:25 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BA=D1=8D=D1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protoc-frontend.exe | 2 +- server/main.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/protoc-frontend.exe b/protoc-frontend.exe index 7777155..3e03d97 100755 --- a/protoc-frontend.exe +++ b/protoc-frontend.exe @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:583c1d919b91c04d47990dba6a32091cdd5bab4db456e494d86ca6dd10c2a684 +oid sha256:9c0151b3ddb98c2e3a9687100a3761b0ccf32b7aee4ef0dffc883b96e1b64a6c size 10308096 diff --git a/server/main.go b/server/main.go index 4b71467..1544d84 100644 --- a/server/main.go +++ b/server/main.go @@ -55,6 +55,8 @@ func main() { // SPA: serve static files, fallback to index.html mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Cache-Control", "no-store") + // Try to serve the file directly path := strings.TrimPrefix(r.URL.Path, "/") if path == "" {