Add rate limiting and smarter cache headers
- Edge middleware: 20 req/min per IP on /profile/*, /search, /trending
Returns 429 with Retry-After: 60 when exceeded
- Posts/threads: s-maxage=86400, stale-while-revalidate=604800 (immutable)
- Profiles/lists/search: s-maxage=120, stale-while-revalidate=3600
Keeps Vercel serverless invocations and Bluesky API calls sustainable
on the free tier
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>