Skip to content

Splitting dist and documentation paths in uri #2376

Closed

Description

@jbergstroem

We currently have multiple ways of linking to and hosting both downloads and documentation.

Targeting documentation alone, one linked from front page and one from docs

If you check our nginx config you can see that /dist/, /docs/ and /download/ is more or less identical for these reasons.

I would like to re-introduce dist.nodejs.org (which was a thing in the past) and docs.nodejs.org. The reasons are purely technical (some may have preferences to how url's are designed); it makes it easier for us to do things like traffic shaping and routing. It can open the doors to having docs fully self-maintained and not even tied to our www server.

My main task would be starting with downloads where we would have to consider things like redirecting clients to the new location. I checked in with @ljharb of nvm fame which said that it is already covered with how curl and previously wget was invoked (read: following redirects). @rvagg mentioned that there might be clients that doesn't follow redirects. Does anyone know about use-cases like these?

Activity

  1. added
    cdnchanges or problems related to our cdn: cloudflare
    on Jul 3, 2020
  2. rvagg commented on Jul 3, 2020

    @rvagg
    Member

    It's going to be in enterprise workflows where they're using curl without -L, and we're not likely to see them until we break stuff unfortunately! We could do this slow-ish, by first enabling it in parallel to the other options, and then trying the redirect over a weekend, and then trying it over a week where there's a new release, and then turning it on full-time.

  3. jbergstroem commented on Jul 3, 2020

    @jbergstroem
    MemberAuthor

    We could do this slow-ish, by first enabling it in parallel to the other options, and then trying the redirect over a weekend, and then trying it over a week where there's a new release, and then turning it on full-time.

    If we can catch 50% of the traffic, that's a great improvement.

  4. github-actions commented on Apr 30, 2021

    @github-actions

    This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

  5. github-actions commented on Feb 25, 2022

    @github-actions

    This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cdnchanges or problems related to our cdn: cloudflarestalewebsite

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions