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

Implement tweaks recommended by Lighthouse #131

Open
2 of 3 tasks
ralienpp opened this issue Sep 18, 2020 · 3 comments
Open
2 of 3 tasks

Implement tweaks recommended by Lighthouse #131

ralienpp opened this issue Sep 18, 2020 · 3 comments

Comments

@ralienpp
Copy link
Collaborator

ralienpp commented Sep 18, 2020

Chrome includes a dev-tool called "Lighthouse", which provides some recommendations for improving the page. Some of them are fairly simple:

  • Add meta description to document
  • robots.txt is not valid
  • Provide apple-touch-icon to make it look nicer on iOS devices that use the PWA feature (it must point to a non-transparent 192px (or 180px) square PNG)

Discussion:

  1. what should the META text be?
@roata
Copy link
Member

roata commented Oct 5, 2020

Let's set the meta part to the following

<head>
  <meta charset="UTF-8">
  <meta name="description" content="Monitorizarea transportului public din Chișinău">
  <meta name="keywords" content="Chișinău, troleibuz, trolleybus, transport public, GPS">
</head>

What is the right way to deal with multilinguality? Because we have to cover multiple languages, we need something like <meta name="keywords" content="Chișinău, Кишинёв, троллейбус, troleibuz, trolleybus, transport public, общественный транспорт, GPS"> - however I am guessing these are too many keywords and it can be perceived as SEO spam.

Moreover, we have to have a description in Russian and in English. What's the proper way to deal with this?

@iamandrewluca
Copy link
Member

For single page applications, a solution would be to build entire app for each language. (Angular apps do this)

And have for example

@roata
Copy link
Member

roata commented Oct 5, 2020

Hmm, the downloaded JS file is already pretty large. If one would have to redownload it whenever they switch languages - I would rather sacrifice the META/SEO bells and whistles in favor of common sense.

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

3 participants