BrianRuizy / covid19-dashboard

🦠 Django + Plotly Coronavirus dashboard. Powerful data driven Python web-app, with an awesome UI. Contributions welcomed! Featured on 🕶Awesome-list
https://covid-dashboard.herokuapp.com
MIT License
213 stars 176 forks source link

Improve loading times by fixing simple issues #52

Closed LeoHerrmann closed 4 years ago

LeoHerrmann commented 4 years ago

It seems as if loading times could be improved quite a bit by fixing these relatively simple issues:

Some unnecessary requests could be removed to reduce overall page weight:

External files such as stylesheets, scripts and fonts, which are not needed immediately, could be loaded asynchronously to prevent them from blocking the rendering of the page.

Using font-display: swap would allow the page content to be displayed before the desired font has finished loading.