Skip to content

Experiment with Node.js Website Traffic on Vercel #3366

@ovflowd

Description

@ovflowd

Hey you all 👋 as our ongoing efforts to improve the reliability and performance of the Website. The nodejs.org website codebase reached maturity for us to start the cutoff tests for serving the Website related routes through Vercel.

Useful Information

  • The Website is served on https://node-js-org.vercel.app
  • The Website is automatically deployed to Vercel by Vercel Integration on https://vercel.com
  • An ideal subdomain for this temporary experiment is https://vercel.nodejs.org

Important Notes

  • Cloudflare cache should be disabled for all routes served by Vercel. Vercel has its own caching rules, and those might conflict with Vercel-ones
  • After analysing our NGINX file, the following subdirectories should not be served to Vercel:
    • /dist
    • /download
    • /docs
    • /api
    • /documentation
    • /metrics
    • /github-webhook.log
    • /traffic-manager
  • Vercel should serve all other routes

Miscellaneous Information

  • In the future, api/ should be served by the website, as the latest API docs will be served and built directly from the website repository. But that's a topic for another time.
  • Once we adopt Vercel, over time, we can update the NGINX config to remove some of thew website-specific configurations we had.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions