mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-03-11 05:02:56 +00:00
Fix some performance issues
* Remove render blocking stripe JS that seems unnecessary * Use native lazy loading of images - Truly a progressive enhancement, only affects browsers that support it - Causes a warning: [Intervention] An <img> element was lazyloaded with loading=lazy, but had no dimensions specified. Specifying dimensions improves performance. See https://crbug.com/954323, which can not be easily fixed * Render content first, hydrate after that
This commit is contained in:
committed by
Aarni Koskela
parent
fb4fb44ef6
commit
bec251c4e6
@@ -34,11 +34,11 @@ class MyDocument extends Document {
|
||||
<div className="site">
|
||||
<div className="container">
|
||||
<Main />
|
||||
<NextScript />
|
||||
</div>
|
||||
<Footer />
|
||||
</div>
|
||||
<Fader />
|
||||
<NextScript />
|
||||
</body>
|
||||
</Html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user