opengaming/osgameclones

Improve rendering performance

midzer opened this issue · 0 comments

Rendering performance is almost 2s for the main page on my legacy machine.

This could be vastly improved by adding content-visibility CSS to <div id="content"> which is far below the initial viewport, ref https://developer.mozilla.org/en-US/docs/Web/CSS/content-visibility

Browser support is pretty good now as Firefox added it lately, https://caniuse.com/css-content-visibility

Have a nice week
midzer