Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 440e23b80e |
@@ -32,7 +32,7 @@ const makeProductionWebappRoute = Effect.fnUntraced(function*(route: HttpRouter.
|
||||
return yield* HttpServerResponse.setHeader(
|
||||
yield* HttpServerResponse.file(exists ? source : path.join(dist, "index.html")),
|
||||
"Cache-Control",
|
||||
`public, max-age=${Duration.toSeconds("365 days")}, immutable`,
|
||||
`public, max-age=${Duration.toSeconds("6 hours")}, immutable`,
|
||||
)
|
||||
}))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user