Skip to content

Google search bot

Charles de Beauchesne edited this page Apr 4, 2019 · 1 revision

Chrome google bot use chrome 41, current version is 70 (as of october 2018). So we must pay attention to not use any feature, espacially javascript features, that are not supported by Chrome.

The strategy on this is quite limited, because we must also test any dependancies (vue-moment, we're talking about you...). The best we have is quite manual :

  1. Get knowledge of DO and DON'T
  2. And manually test it :
  3. Install Chormium 41, it work's fine on Windows, not on MacOSX
  4. open your dev site and check that everything is fine
  5. you can also check google search console, with "fetch as google" tool

Do not use :

Three dot operator

function foo(...args){
}

Wait, but why ?

browserslist on package.json should handle this... https://browserl.ist/?q=cover+95%25+in+FR%2C+%3E+1%25%2C+not+ie+%3C%3D+8%2C+Chrome+41%2C+last+2+versions