Daily Shaarli
February 4, 2024
Some tricks the author uses and explains:
- using
<link rel="preload"
as="ROLE" href="URL">` to download - lazy-loading the search index (and this feature) as it is not used widely, and costs bandwidth (1.8MB)
- Reducing the cost of webfonts: shrinking the typeset of the font (especially for titles) + combining css files
The author reduced the page load from 11 seconds to 4 seconds with these.
There’s a standard way to make part of a page not visible until the user requests it: the
tag. You may have seen this on big code examples in some of my other posts.
Google will no longer back up the Internet: Cached webpages won't exist anymore. See https://arstechnica.com/gadgets/2024/02/google-search-kills-off-cached-webpages/.
The author put thoughts into caching webpages. Each link should have metadata associated to it: a favicon or an image, a description and the main language of the page.
They are already many projects for it.
Everything can be self-hosted. The author merged his professional side with its personal.