Skip to content

fix(api): harden cache-control headers for polymarket and rss-proxy#613

Merged
koala73 merged 1 commit intomainfrom
fix/cache-control-headers
Feb 28, 2026
Merged

fix(api): harden cache-control headers for polymarket and rss-proxy#613
koala73 merged 1 commit intomainfrom
fix/cache-control-headers

Conversation

@koala73
Copy link
Owner

@koala73 koala73 commented Feb 28, 2026

Summary

  • polymarket: Fixed s-maxage=120 instead of forwarding upstream cache-control (which could be no-cache, defeating CDN caching)
  • rss-proxy: Bumped s-maxage from 600→900 to match max-age, with 300s stale-while-revalidate

Test plan

  • Polymarket panel loads, responses have s-maxage=120 header
  • RSS feeds load, responses have s-maxage=900 header

- polymarket: use fixed s-maxage=120 instead of passing upstream
  cache-control (which could be no-cache)
- rss-proxy: bump s-maxage from 600 to 900 to match max-age
@vercel
Copy link

vercel bot commented Feb 28, 2026

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

Project Deployment Actions Updated (UTC)
worldmonitor Building Building Preview, Comment Feb 28, 2026 11:35pm
worldmonitor-finance Building Building Preview, Comment Feb 28, 2026 11:35pm
worldmonitor-happy Building Building Preview, Comment Feb 28, 2026 11:35pm
worldmonitor-startup Building Building Preview, Comment Feb 28, 2026 11:35pm

Request Review

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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