3 ms·
I'm trying to make a static website myself. Can you tell me if it's possible to optimize the network side of things? https://waivek.github.io/website/ https://
by waivek 8y ago
I'm trying to make a static website myself. Can you tell me if it's possible to optimize the network side of things?
https://waivek.github.io/website/ https://waivek.github.io/website/
- ryanworl 8y ago1) Drop the web font if at all possible. If not, serve it from your domain to avoid DNS query and new TCP connection. For extra points, subset it to your content's character set. 2) Consolidate your CSS and JS files into one per type and minify it. For extra points, inline the critical CSS needed to show the important content of the page directly into the head. 3) Move your script tags to the end of the body to avoid blocking rendering, or inline it if it is absolutely needed to be there before the page loads and is not too big. 4) That web font loader script is not necessary at all. 5) You might get a smaller size out of those buttons as SVG.
- blattimwind 8y agoYou do five requests for resources that are in total 2 KB. Just inline them (including those tiny images).