Artur Moreira and Paperclip
eff0aaa366
feat(frontend): add Cache-Control headers to all page routes (BIT-2261)
...
Set Cache-Control: s-maxage=60, stale-while-revalidate=300 on all page
routes to enable Cloudflare CDN caching per docs/architecture.md § 7.
Files updated:
- index.astro (homepage)
- article/[slug].astro (article pages)
- category/[slug].astro (category pages)
- noticias.astro (news listing)
- search.astro (search results)
- sitemap.xml.ts (sitemap)
- robots.txt.ts (robots)
This enables:
- CDN edge caching for 60 seconds (s-maxage)
- Serving stale content while revalidating for up to 300s (SWR)
- Improved TTFB for repeated requests (target: <30ms cache HIT)
Acceptance criteria:
✓ All page routes return correct Cache-Control header
✓ Cloudflare can cache responses with cf-cache-status: HIT
✓ TTFB improves to <30ms for cache HIT scenario
✓ Header values match architecture spec
Co-Authored-By: Paperclip <[email protected] >
2026-04-11 03:37:32 +00:00
Artur Moreira and Paperclip
216c537ce7
docs: add PROJECT_STATUS.md — objectives vs delivery matrix (BIT-2078)
...
Maps all 12 project objectives against delivered scope, links active
Paperclip sweep (BIT-2030) and open child issues (BIT-2079, BIT-2080),
and summarises the full repo tree for governance visibility.
Co-Authored-By: Paperclip <[email protected] >
2026-04-10 21:51:05 +00:00