Skip to content

perf: parallelize dashboard fetches and allow Cloudflare beacon in CSP - #2

Merged
suradet-ps merged 2 commits into
mainfrom
fix/perf-and-csp
Jul 18, 2026
Merged

perf: parallelize dashboard fetches and allow Cloudflare beacon in CSP#2
suradet-ps merged 2 commits into
mainfrom
fix/perf-and-csp

Conversation

@suradet-ps

Copy link
Copy Markdown
Owner
  • Fetch all repo bundles concurrently with futures::join_all instead of one-at-a-time sequentially (was N repos x 4 serial requests)
  • Fan out each repo's 4 sub-requests (repo/issues/pulls/CI) with futures::join! so a single bundle costs ~1 round-trip
  • Add Content-Security-Policy meta tag that whitelists static.cloudflareinsights.com, fixing the script-src violation from the Cloudflare Pages analytics beacon

- Fetch all repo bundles concurrently with futures::join_all instead of
  one-at-a-time sequentially (was N repos x 4 serial requests)
- Fan out each repo's 4 sub-requests (repo/issues/pulls/CI) with
  futures::join! so a single bundle costs ~1 round-trip
- Add Content-Security-Policy meta tag that whitelists
  static.cloudflareinsights.com, fixing the script-src violation from the
  Cloudflare Pages analytics beacon
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lepo Ready Ready Preview, Comment Jul 18, 2026 1:24am

@suradet-ps
suradet-ps merged commit e770210 into main Jul 18, 2026
8 checks passed
@suradet-ps
suradet-ps deleted the fix/perf-and-csp branch July 18, 2026 01:26
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