-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow users to customize
fetch
behavior
NextJS SSR v15.1+ will not cache `fetch` requests by default, but some users might want that, specially in development mode. We're now allowing them to customize our `fetch` requests by setting the new `fetch_options` setting when calling `posthog.init` This needs to be used carefully, but it should be extremely powerful and useful for NextJS users. We'll add documentation about it on `posthog.com` soon.
- Loading branch information
1 parent
4b28ae7
commit 9df3836
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters