Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HUD] Set cache control header for api/artifacts, use immutable swr for artifacts and utilization links #6453

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

clee2000
Copy link
Contributor

@clee2000 clee2000 commented Mar 20, 2025

Set cache control for the artifacts api route so we don't constantly rerun the lambda

Set useSWRImmutable to reduce api requests (ex when user clicks away etc)

Consequences:
stale data sometimes

Copy link

vercel bot commented Mar 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
torchci 🔄 Building (Inspect) Visit Preview Mar 20, 2025 8:52pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 20, 2025
@clee2000 clee2000 requested review from yangw-dev and a team March 20, 2025 20:52
@clee2000 clee2000 marked this pull request as ready for review March 20, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants