Skip to content

Add production Worker routes, cache headers, and SEO fixes#118

Merged
MarketDataApp merged 5 commits intomainfrom
staging
Feb 24, 2026
Merged

Add production Worker routes, cache headers, and SEO fixes#118
MarketDataApp merged 5 commits intomainfrom
staging

Conversation

@MarketDataApp
Copy link
Owner

Summary

  • Add production /docs/* routes to Worker
  • Remove tracked robots.txt (gitignored but was still committed)
  • Add noIndex meta tag to staging builds to preserve crawl budget
  • Add aggressive cache headers for static assets via _headers file
  • Enable edge caching for Worker subrequests

Changes

  • worker/wrangler.toml — added /docs and /docs/* production routes
  • worker/index.js — added cf: { cacheEverything: true } to subrequests
  • .github/workflows/deploy-docs.yml — generate _headers file with cache rules for assets/images
  • docusaurus.config.js — added noIndex: true for non-production builds
  • static/robots.txt — removed from git tracking

@MarketDataApp MarketDataApp merged commit 5106c4a into main Feb 24, 2026
1 check passed
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