dofuslab / dofuslab

The open-source equipment experiment tool for the MMORPG Dofus.
https://dofuslab.io
64 stars 21 forks source link

Improving PageSpeed (and SEO?) #103

Open lightyearsaway opened 4 years ago

lightyearsaway commented 4 years ago

Google's PageSpeed Insights gives DofusLab a pretty shitty score ranging from 18-25/100. The initial load of the page could definitely be optimized, but right now I'm not sure about the ways we can do that. Some notes:

Also, DofusLab does not even show up on the first page of Google results (the first result for me is our reddit post, the third is this repo, and the sixth is our now-deleted JOL ad that lasted less than a few hours). Could our poor PageSpeed rating be part of the reason?

blueocto commented 4 years ago

Hey @lightyearsaway - yes page speed is considered one of the main ranking factors now for SEO. However, if you're serving your website using something like React, I've heard they fall over on SEO because there is no HTML there when crawled? Running Google Lighthouse audit, gives you perhaps some ideas where to improve (See screenshots) Screenshot 2020-05-06 at 00 58 09 Screenshot 2020-05-06 at 00 57 58

blueocto commented 4 years ago

I'd be happy to help improve this, if I can find the time to setup your whole project on my machine (^_^メ)

lightyearsaway commented 4 years ago

However, if you're serving your website using something like React, I've heard they fall over on SEO because there is no HTML there when crawled?

We're using Next.js, so all of the content is rendered on the server first and then served as HTML, so I don't think that would be the issue. I recently setup a Google Search Console account to try to learn more about this. Any help would be greatly appreciated 😃

blueocto commented 4 years ago

Cant say I know enough about Next.js to help on that aspect, although this article seem's to go into detail about GSC here

Perhaps running lighthouse as an npm package or cli tool, might help capture those Performance outputs.