Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip committing the session for API endpoints (#4222)
This will help avoid setting the Set-Cookie header, which makes responses non-cacheable, and opens us up to someone causing a thundering herd by visiting an API endpoint in the browser and causing fastly to cache a hit-for-pass object, see https://developer.fastly.com/learning/concepts/edge-state/cache/request-collapsing/#hit-for-pass
- Loading branch information