Skip to content

Commit

Permalink
docs: add section about cookies handling in firebase production (#1591)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubednar authored Jun 10, 2024
1 parent 64f81e5 commit c990eb4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/3.deploy/firebase.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,11 @@ firebase deploy --only functions:server,hosting
::read-more{to="https://nitro.unjs.io/deploy/providers/firebase" target="_blank"}
Head over **Nitro documentation** to learn more about the Firebase deployment preset.
::
## Using Cookies in production
When using Firebase Hosting together with Cloud Functions or Cloud Run, cookies are generally stripped from incoming requests to allow for efficient CDN cache behavior. Only the specially-named `__session` cookie is permitted to pass through to your app.
::read-more{to="https://firebase.google.com/docs/hosting/manage-cache#using_cookies" target="\_blank"}
For more information, refer to the **Firebase documentation**.
::

0 comments on commit c990eb4

Please sign in to comment.