Skip to content

RUM-17207 Forward local_cache_hit signal on RUM resources#3074

Draft
barboraplasovska wants to merge 6 commits into
developfrom
bplasovska/RUM-17207/local-cache-hit
Draft

RUM-17207 Forward local_cache_hit signal on RUM resources#3074
barboraplasovska wants to merge 6 commits into
developfrom
bplasovska/RUM-17207/local-cache-hit

Conversation

@barboraplasovska

@barboraplasovska barboraplasovska commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

What and why?

Forwards a local_cache_hit boolean on RUM resource events, derived from URLSessionTaskTransactionMetrics.resourceFetchType == .localCache.

The backend already accepts resource.local_cache_hit to compute cache_status/cache_reason. No SDK currently sends it; browsers rely on a zero byte transfer size heuristic instead.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing changes
  • Add Objective-C interface for public APIs, see our guidelines (internal)
  • Run make api-surface when adding new APIs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant