You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
same issue here... everything is set as "public, max-age=0, must-revalidate", doesn't matter if it's in the public folder or public/assets, any way I can set this myself?
I'm using React Router as a...
framework
Reproduction
npx create-react-router@latest -y cd my-react-router-app npm run build npm run start
Open up the network tab and go to localhost:3000. Look at the headers for the favicon
System Info
Used Package Manager
npm
Expected Behavior
I expect assets in the public directory (like the favicon) to have a default cache of 1hr:
public, max-age=3600
Actual Behavior
Assets in the public directory have a cache control of
public, max-age=0
I'm confused because it seems like this line should be setting a cache control. I think this is how it worked with remix-serve
The text was updated successfully, but these errors were encountered: