You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 10, 2021. It is now read-only.
I would love to get some insight about impact on HTTP request duration and about impact on build pipeline duration for two repos, one with 10K redirects and one with 10K pages à 100KB each. So that we can make an informed decision about the copy vs redirect approach for the naked routes without locale. I thought of this here, because this "hack" is needed because of the redirect approach.
We can either do something like /some/path /en/some/path 200 or we copy the file located at .next/serverless/pages/en/some/path.html to both out_publish/some/path.html and out_publish/en/some/path.html. After some discussion during i18n, we decided to stick with the redirect approach that was originally used at the start of the i18n work.
The text was updated successfully, but these errors were encountered:
i think the conclusion at the moment is that minimizing build times are a bigger priority and copying files is probably more costly than having many redirects. this is tangentially related to #123. we can re-address if redirects become a real issue.
Per #75 (comment) on i18n PR:
We can either do something like
/some/path /en/some/path 200
or we copy the file located at.next/serverless/pages/en/some/path.html
to bothout_publish/some/path.html
andout_publish/en/some/path.html
. After some discussion during i18n, we decided to stick with the redirect approach that was originally used at the start of the i18n work.The text was updated successfully, but these errors were encountered: