Skip to content

Docs: Move to vercel.ts, use longer cache TTL to save money#6495

Merged
JonnyBurger merged 2 commits intomainfrom
vercel-longer-cache
Feb 10, 2026
Merged

Docs: Move to vercel.ts, use longer cache TTL to save money#6495
JonnyBurger merged 2 commits intomainfrom
vercel-longer-cache

Conversation

@JonnyBurger
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings February 10, 2026 09:38
@vercel
Copy link
Contributor

vercel bot commented Feb 10, 2026

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

Project Deployment Actions Updated (UTC)
bugs Ready Ready Preview, Comment Feb 10, 2026 9:47am
remotion Ready Ready Preview, Comment Feb 10, 2026 9:47am

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Moves the docs site Vercel configuration from a JSON file to a typed TypeScript config, and increases caching for static assets to reduce bandwidth/cost.

Changes:

  • Replace packages/docs/vercel.json with packages/docs/vercel.ts using @vercel/config/v1 helpers.
  • Add long-lived Cache-Control headers for /assets/* (1 year + immutable).
  • Add @vercel/config dependency (and lockfile updates) to support the new config format.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
packages/docs/vercel.ts New typed Vercel config defining headers + redirects (and new asset caching).
packages/docs/vercel.json Removed legacy JSON Vercel config.
packages/docs/package.json Adds @vercel/config dependency needed by the new config file.
bun.lock Locks @vercel/config and its transitive dependencies.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@JonnyBurger JonnyBurger merged commit 21780a1 into main Feb 10, 2026
14 checks passed
@JonnyBurger JonnyBurger deleted the vercel-longer-cache branch February 10, 2026 10:07
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

Comments