Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve redirects #287

Open
1 task
Toxicom opened this issue Jan 11, 2023 · 0 comments
Open
1 task

Improve redirects #287

Toxicom opened this issue Jan 11, 2023 · 0 comments
Assignees

Comments

@Toxicom
Copy link
Contributor

Toxicom commented Jan 11, 2023

Description

In cloudflare build logs for the #257 branch, we get info warnings:

20:03:37.442 | Parsed 54 valid redirect rules.
-- | --
20:03:37.442 | Info: the redirect rule /ua/events → 301 /ua/podii/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.442 | Info: the redirect rule /ua/events/ → 301 /ua/podii/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.443 | Info: the redirect rule /ua/privacy-policy → 301 /ua/polityka-konfideitsinosti/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.443 | Info: the redirect rule /ua/privacy-policy/ → 301 /ua/polityka-konfideitsinosti/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.443 | Info: the redirect rule /ua/refugee-guide → 301 /ua/vazhlyva-informatsiia/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.443 | Info: the redirect rule /ua/refugee-guide/ → 301 /ua/vazhlyva-informatsiia/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.443 | Info: the redirect rule /ua/refugee-guide/employment → 301 /ua/vazhlyva-informatsiia/poshuk-roboty/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.443 | Info: the redirect rule /ua/refugee-guide/employment/ → 301 /ua/vazhlyva-informatsiia/poshuk-roboty/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.444 | Info: the redirect rule /ua/refugee-guide/migration-office → 301 /ua/vazhlyva-informatsiia/mihratsiini-posluhy/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.444 | Info: the redirect rule /ua/refugee-guide/migration-office/ → 301 /ua/vazhlyva-informatsiia/mihratsiini-posluhy/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.444 | Info: the redirect rule /ua/refugee-guide/rent-in-lithuania → 301 /ua/vazhlyva-informatsiia/orenda-zhytla-v-lytvi/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.444 | Info: the redirect rule /ua/refugee-guide/rent-in-lithuania/ → 301 /ua/vazhlyva-informatsiia/orenda-zhytla-v-lytvi/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.444 | Info: the redirect rule /ua/refugee-guide/social-support → 301 /ua/vazhlyva-informatsiia/sotsialna-pidtrymka/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.444 | Info: the redirect rule /ua/refugee-guide/social-support/ → 301 /ua/vazhlyva-informatsiia/sotsialna-pidtrymka/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.444 | Info: the redirect rule /ua/refugee-guide/residence → 301 /ua/vazhlyva-informatsiia/bezkoshtovne-zhytlo/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.444 | Info: the redirect rule /ua/refugee-guide/residence/ → 301 /ua/vazhlyva-informatsiia/bezkoshtovne-zhytlo/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.444 | Info: the redirect rule /ua/refugee-guide/mobile-communication → 301 /ua/vazhlyva-informatsiia/mobilnyi-zviazok/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.445 | Info: the redirect rule /ua/refugee-guide/mobile-communication/ → 301 /ua/vazhlyva-informatsiia/mobilnyi-zviazok/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.445 | Info: the redirect rule /ua/refugee-guide/currency-exchange → 301 /ua/vazhlyva-informatsiia/obmin-valiuty/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.445 | Info: the redirect rule /ua/refugee-guide/currency-exchange/ → 301 /ua/vazhlyva-informatsiia/obmin-valiuty/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.445 | Info: the redirect rule /ua/refugee-guide/financial-services → 301 /ua/vazhlyva-informatsiia/banky-ta-finansovi-posluhy/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.445 | Info: the redirect rule /ua/refugee-guide/financial-services/ → 301 /ua/vazhlyva-informatsiia/banky-ta-finansovi-posluhy/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.445 | Info: the redirect rule /ua/refugee-guide/school-kindergarten → 301 /ua/vazhlyva-informatsiia/shkola-dytiachyi-sadok/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.445 | Info: the redirect rule /ua/refugee-guide/school-kindergarten/ → 301 /ua/vazhlyva-informatsiia/shkola-dytiachyi-sadok/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.445 | Info: the redirect rule /ua/refugee-guide/healthcare → 301 /ua/vazhlyva-informatsiia/medychni-posluhy/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.446 | Info: the redirect rule /ua/refugee-guide/healthcare/ → 301 /ua/vazhlyva-informatsiia/medychni-posluhy/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.446 | Info: the redirect rule /ua/refugee-guide/psychological-assistance → 301 /ua/vazhlyva-informatsiia/psykholohichna-dopomoha/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.446 | Info: the redirect rule /ua/refugee-guide/psychological-assistance/ → 301 /ua/vazhlyva-informatsiia/psykholohichna-dopomoha/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.446 | Info: the redirect rule /ua/refugee-guide/public-transport → 301 /ua/vazhlyva-informatsiia/bezkoshtovnyi-hromadskyi-transport/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.446 | Info: the redirect rule /ua/refugee-guide/public-transport/ → 301 /ua/vazhlyva-informatsiia/bezkoshtovnyi-hromadskyi-transport/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.446 | Info: the redirect rule /ua/refugee-guide/pets → 301 /ua/vazhlyva-informatsiia/domashni-tvaryny/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.446 | Info: the redirect rule /ua/refugee-guide/pets/ → 301 /ua/vazhlyva-informatsiia/domashni-tvaryny/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.446 | Info: the redirect rule /ua/refugee-guide/contacts → 301 /ua/vazhlyva-informatsiia/potochni-kontakty/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.447 | Info: the redirect rule /ua/refugee-guide/contacts/ → 301 /ua/vazhlyva-informatsiia/potochni-kontakty/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.447 | Info: the redirect rule /ua/refugee-guide/humanitarian-help → 301 /ua/vazhlyva-informatsiia/humanitarna-dopomoha/ could be made more performant by bringing it above any lines with splats or placeholders.
20:03:37.447 | Info: the redirect rule /ua/refugee-guide/humanitarian-help/ → 301 /ua/vazhlyva-informatsiia/humanitarna-dopomoha/ could be made more performant by bringing it above any lines with splats or placeholders.

It would be nice to make redirects more performant.

Screenshots

image

To reproduce

  1. npm run build
  2. See logs

Acceptance criteria

  • Redirects are more performant
@forecast forecast bot added this to the Feb 2023 / Phase milestone Feb 13, 2023
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

No branches or pull requests

1 participant