You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1c80bb7
Browse filesBrowse the repository at this point in the historyBrowse files
feat(mcp-cloudflare): Share allowlisted cache entries across isolates through R2
Add the R2 tier of the hosted response cache behind
MCP_RESPONSE_CACHE=tiered. TieredStore reads memory, then R2, for
organization event details (without averageColumn) and project
trace-item details (without debug). It writes to R2 only when the
response carries Cache-Control: private with a positive max-age, and
expires objects at the lesser of max-age and 5 minutes, checked on read.
Writes run in waitUntil, and a 1-day bucket lifecycle rule collects
garbage.
The shared cache policy in @sentry/api/client keeps only Link in entry
headers, so R2 eligibility reads Cache-Control from the response headers
in the entry's serialized http-cache-semantics policy.
Authorization values kept for Vary matching are stored as SHA-256
hashes, never as tokens.
Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
0 commit comments