Skip to content

Commit f8eeee4

Browse files
author
Dan Jutan
committed
clarify
1 parent 835d8aa commit f8eeee4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/en/guides/server-side-rendering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const cookie = Astro.request.headers.get('cookie');
6464
:::caution
6565
The features below are only available at the page level. (You can't use them inside of components, including layout components.)
6666

67-
This is because these features modify the [Response headers](https://developer.mozilla.org/en-US/docs/Glossary/Response_header), which can only be set once. In SSR mode, Astro uses HTML streaming to send each component to the browser as soon as it renders them. This makes sure the user sees your HTML as fast as possible, but it means that by the time Astro runs your component code, it has already sent the Response headers to the browser.
67+
This is because these features modify the [Response headers](https://developer.mozilla.org/en-US/docs/Glossary/Response_header), which can't be modified after they're sent to the browser. In SSR mode, Astro uses HTML streaming to send each component to the browser as soon as it renders them. This makes sure the user sees your HTML as fast as possible, but it means that by the time Astro runs your component code, it has already sent the Response headers to the browser.
6868
:::
6969

7070
### `Astro.redirect`

0 commit comments

Comments
 (0)