TLDR Web Dev · ARTICLES & TUTORIALS

WEBP: THE WEBPAGE COMPRESSION FORMAT

purplesyringa.moe15 min read

Summary from the TLDR Web Dev newsletter

This post explores different compression methods to improve the loading time of a website hosted on GitHub Pages. The author uses WebP to compress their blog's HTML content. This is done as a workaround because their blog hosting platform, GitHub Pages, doesn't support Brotli compression. They describe the process of encoding the HTML as a WebP image and then using JavaScript and the Canvas API to decode it back to HTML on the client-side.