odota / web

React web interface for the OpenDota platform
https://www.opendota.com
MIT License
1.07k stars 390 forks source link

opendota is so slow that noscripts thinks there is a dos going on. #2807

Open Turmfalke2 opened 3 years ago

Turmfalke2 commented 3 years ago

hi, Opendota has always been very slow to load while choking other traffic, today while click through a longer match ( https://www.opendota.com/matches/6068104919 ) it was so slow that noscript (firefox plugin) even thought there was a dos going on.

screen03

Google also agrees that the page speed is abysmal:

https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.opendota.com%2Fmatches%2F6068104919

I am not a web developer, but maybe something should be done?

Environment

mkane0814 commented 2 years ago

It looks like a lot of the complaints that Google's page speed test has is with the images that are called from steamcdn. It seems to think that the website is calling the full versions of the images then the website is resizing them. If that is the case we probably should see if there is a way to call the properly sized images from the get-go.