Skip to content

docs: cacheNonce - #44679

Merged
mandarini merged 2 commits into
supabase:masterfrom
7ttp:fix/nitpickk
Apr 9, 2026
Merged

mandarini merged 2 commits into
supabase:masterfrom
7ttp:fix/nitpickk

Conversation

@7ttp

@7ttp 7ttp commented Apr 8, 2026 •

Copy link
Copy Markdown
Member

smol follow up to:

Summary by CodeRabbit

  • Documentation
    • Improved Smart CDN documentation with updated cache-bypass instructions. The guidance now uses the cacheNonce query parameter to clarify how to force the CDN to fetch fresh content from origin.

@vercel

vercel Bot commented Apr 8, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment, Open in v0 Apr 8, 2026 4:32pm
7 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Apr 8, 2026 4:32pm
design-system Skipped Skipped Apr 8, 2026 4:32pm
learn Skipped Skipped Apr 8, 2026 4:32pm
studio-self-hosted Skipped Skipped Apr 8, 2026 4:32pm
studio-staging Skipped Skipped Apr 8, 2026 4:32pm
ui-library Skipped Skipped Apr 8, 2026 4:32pm
zone-www-dot-com Skipped Skipped Apr 8, 2026 4:32pm

Request Review

@github-actions

github-actions Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Thanks for contributing to Supabase! ❤️ Our team will review your PR.

A few tips for a smoother review process:

  • If you have a local version of the repo, run pnpm run format to make sure formatting checks pass.
  • Once we've reviewed your PR, please don't trivially merge master (don't click Update branch if there are no merge conflicts to be fixed). This invalidates any pre-merge checks we've run.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Apr 8, 2026
@vercel

vercel Bot commented Apr 8, 2026

Copy link
Copy Markdown

@7ttp is attempting to deploy a commit to the Supabase Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Apr 8, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 4897bbe5-40de-40d6-95b8-7c19e67779b0

📥 Commits

Reviewing files that changed from the base of the PR and between 7d36957 and 8c0ebe4.

📒 Files selected for processing (1)
  • apps/docs/content/guides/storage/cdn/smart-cdn.mdx

📝 Walkthrough

Walkthrough

The Smart CDN documentation was updated to replace the generic query string parameter example with a specific cacheNonce parameter. The instructions now show incrementing cacheNonce values to bypass cache.

Changes

Cohort / File(s) Summary
CDN Documentation
apps/docs/content/guides/storage/cdn/smart-cdn.mdx
Replaced generic "unique query string" example with specific cacheNonce parameter. Updated instructions to show incrementing cacheNonce values (e.g., cacheNonce=1 → cacheNonce=2) for cache bypass.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A query string hops to the rescue at last,
cacheNonce whispers—make content fast!
From one to two, the numbers dance free,
Fresh cache busts bloom for all to see! 🚀

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request lacks any description. The template requires sections for contribution acknowledgment, change type, current/new behavior, and context, none of which are provided. Add a pull request description following the template, including confirmation of reading CONTRIBUTING.md, change type (docs update), issue links if applicable, and explanation of the cacheNonce documentation changes.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'docs: cacheNonce' is specific and clearly describes the documentation update about cacheNonce, matching the main change in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mandarini
mandarini merged commit f902273 into supabase:master Apr 9, 2026
20 checks passed
@github-actions

github-actions Bot commented Apr 9, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1775715773)

Score Average Improvements Regressions
Completeness 100% (+2pp) 1 🟢 -
Conciseness 30.4% (+2pp) 4 🟢 2 🔴
Goal Completion 93.1% (+1pp) 2 🟢 2 🔴
Knowledge Usage 100% (+0pp) - -
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Tool Usage 76.2% (+2pp) 1 🟢 -
Docs Faithfulness 69.2% (-3pp) 3 🟢 3 🔴
URL Validity 100% (+0pp) - -
Correctness 100% (+0pp) - -
Time_to_first_token 0.02tok (+0.01tok) 3 🟢 14 🔴
Llm_calls 12.84 (+0.61) 12 🟢 2 🔴
Tool_calls 3.45 (+0.16) 6 🟢 7 🔴
Errors 0 (+0) - -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 26987.24tok (+4823.84tok) 5 🟢 12 🔴
Prompt_cached_tokens 0tok (+0tok) - -
Prompt_cache_creation_tokens 0tok (+0tok) - -
Completion_tokens 620.18tok (+47.63tok) 9 🟢 8 🔴
Completion_reasoning_tokens 0tok (+0tok) - -
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 27607.41tok (+4871.47tok) 5 🟢 12 🔴
Estimated_cost 0.01$ (+0$) 4 🟢 11 🔴
Duration 15.9s (+1.13s) 9 🟢 8 🔴
Llm_duration 38.42s (+2.39s) 8 🟢 9 🔴

@7ttp
7ttp deleted the fix/nitpickk branch April 9, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants