Repository navigation
Conversation
|
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 15 files
Architecture diagram
sequenceDiagram
participant Dev as Developer
participant Docs as Stagehand Docs
participant Support as Browserbase Support
participant App as Stagehand App
participant Browserbase as Browserbase Platform
Note over Dev,Browserbase: NEW: Server-side caching is now opt-in per project
Dev->>Docs: Read caching docs
Docs-->>Dev: Caching requires project enablement
Dev->>Support: Email request with project ID
Support->>Browserbase: Enable caching for project
Support-->>Dev: Caching enabled confirmation
Dev->>App: Stagehand.create({ env: "BROWSERBASE" })
App->>Browserbase: init browser session
Browserbase-->>App: Session ready
alt Caching enabled for project
App->>App: act/extract/observe with cache option
App->>Browserbase: Send request with cache key
alt Cache hit
Browserbase-->>App: cached result
App-->>Dev: cacheStatus: "HIT"
else Cache miss
Browserbase->>Browserbase: Run LLM inference
Browserbase-->>App: fresh result (cached server-side)
App-->>Dev: cacheStatus: "MISS"
end
else Caching not enabled for project
App->>Browserbase: Send request (no cache)
Browserbase-->>App: result
App-->>Dev: cacheStatus: undefined
end
Note over App,Browserbase: Locator-scoped calls bypass cache (status: DISABLED)
Tip: Get a Slack DM when cubic finishes reviewing your PRs. Connect Slack
View guided diff | Turn on auto-fix | Re-trigger cubic
shriyatheunicorn
approved these changes
Nov 12, 2026
seanmcguire12
approved these changes
Nov 13, 2026
akeimach
deleted the
alyssamaruyama/ap-3163-docs-and-changelog-update-to-explain-cache-defaults
branch
November 13, 2026 04:11
akeimach
added a commit
that referenced
this pull request
Nov 13, 2026
# why Update docs to describe new caching workflow # what changed # test plan <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updates the docs to reflect that server-side caching for Browserbase projects is now opt-in instead of on by default. - V3 and V4 guides and API references now explain that caching is off until a project requests it via Browserbase support. - The `cache`/`serverCache` options still work, but only after project-level enabling; `cacheStatus` is `undefined` when disabled. <sup>Written for commit 2ddacfe. Summary will update on new commits.</sup> <a href="https://cubic.dev/pr/browserbase/stagehand/pull/3446?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/browserbase/stagehand/3446?returnTo=https%3A%2F%2Fgithub.com%2Fbrowserbase%2Fstagehand%2Fpull%2F3446&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. --> # why # what changed # test plan
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
why
Update docs to describe new caching workflow
what changed
test plan
Summary by cubic
Updates the docs to reflect that server-side caching for Browserbase projects is now opt-in instead of on by default.
cache/serverCacheoptions still work, but only after project-level enabling;cacheStatusisundefinedwhen disabled.Written for commit 2ddacfe. Summary will update on new commits.