Replies: 1 comment
-
layouts are not pages, they cannot have their own headers, the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to modify layouts responses headers ?
I'd like to set caching headers (
etag
) on some+layout.server.js
that return data that take some time to be processed.Testing with the following code:
the
etag
is not set to layout headers but to the main requested url ones.Is there some way to add caching headers to
+server.layout.js
?Beta Was this translation helpful? Give feedback.
All reactions