From 374afdcd7172402a0be0371964fd6d4040610d5a Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Mon, 21 Sep 2026 20:31:37 +0800 Subject: feat(ui): loading overlay with instant mesh swap, no-store GLB, full-width viewport, ground grid, drop masthead title --- src/SomhairlesDream.Server/ArtifactRunApi.fs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/SomhairlesDream.Server/ArtifactRunApi.fs') diff --git a/src/SomhairlesDream.Server/ArtifactRunApi.fs b/src/SomhairlesDream.Server/ArtifactRunApi.fs index 6c00d66..3a29d99 100644 --- a/src/SomhairlesDream.Server/ArtifactRunApi.fs +++ b/src/SomhairlesDream.Server/ArtifactRunApi.fs @@ -129,6 +129,9 @@ module ArtifactRunApi = | Error message, _ -> error options 400 message | _, None -> error options 400 "missing query parameter 'path'" | Ok(projectId, runId), Some relativePath -> + // Step geometry must always be re-fetched: browsers and CDNs + // never cache GLB responses from this endpoint. + context.Response.Headers.["Cache-Control"] <- "no-store" match options.Coordinator.StepArtifact(projectId, runId, relativePath) with | Ok file -> streamArtifact context file | Error RunNotFound -> error options 404 "run not found" -- cgit v1.2.3