geolexica / geolexica-server

Generalized backend for Geolexica sites
2 stars 1 forks source link

Improve scripts performance by loading them asynchronously #120

Open skalee opened 4 years ago

skalee commented 4 years ago

Scripts are referenced at the end of page's <body> and loaded synchronously.

https://github.com/geolexica/geolexica-server/blob/7f084bf464a3f522bc67a7b5b40aff85421cc3e0/_layouts/default.html#L151-L174

This hampers performance.