Open
Description
Reproduction
- Create a remix app
- Run
build
thenstart
- Open the page
- Check the headers on the
/favicon.ico
request
The favicon from /public
comes with Cache-Control: public, max-age=31536000, immutable
System Info
remix 2.9.1
Used Package Manager
npm
Expected Behavior
The server config from
https://github.com/remix-run/remix/blob/main/packages/remix-serve/cli.ts
says app.use(express.static("public", { maxAge: "1h" }));
.
So it is expected to have maxAge=1h
Actual Behavior
We actually get an immutable
maxAge=1y