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
Notice that all but the "Cache-Control' headers of the layout route are applied
Expected Behavior
"Cache-Control" header is applied to every child route.
Actual Behavior
"Cache-Control" header is not applied, even if child routes do not add any headers. Custom headers are taken over in the child route (e.g., /dash/child) but not the "Cache-Control" header.
The text was updated successfully, but these errors were encountered:
What version of Remix are you using?
Was able to reproduce in 1.7.2, 1.13.0 and 1.16.1
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
headers
export in any layout route (root.tsx
,__layout.tsx
,dashboard.tsx
)Expected Behavior
"Cache-Control" header is applied to every child route.
Actual Behavior
"Cache-Control" header is not applied, even if child routes do not add any headers. Custom headers are taken over in the child route (e.g.,
/dash/child
) but not the "Cache-Control" header.The text was updated successfully, but these errors were encountered: