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 == "" {