Optimise performance, assets, cache TTL, and general UX #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello!
Your website's UX could be significantly improved. I've made a PR taking the first step at #1 by optimising all image assets and giving them a high fetch priority - similar to how CSS is loaded - to reduce a high LCP, which negatively affects UX.
Further, you could consider the following:
-LATIN
option can subset fonts to only the Latin alphabet (including Lithuanian letters), reducing file size.url(...)
in CSS. This causes cache misses and blocking network requests. Instead, consider lazy loading or at least preloading fonts to speed up rendering. Do note however that preloading may cause console warnings when cached and unused, and can slightly increase bandwidth usage due to preconnects, so unless you really want to avoid a little bit of JS, I would recommend lazy loading for a generally cleaner experience.font-display: swap;
to your CSS, which improves performance by showing fallback fonts immediately and swapping to the web font once loaded. Optionally, usetext-rendering: optimizeSpeed
for a very minor performance gain, though it may slightly reduce legibility.I hope this unsolicited advice helps!