Blog

January 8, 2022 ~ 4 min reading time

SSR using Cloudflare Pages

Tags:

TL/DR: SSR is now possible using Cloudflare Pages too. By adding a custom _worker.js file to the distribution directory, incoming HTTP requests may be intercepted and customized.

February 26, 2021 ~ 5 min reading time

AVIF and WebAssembly

Tags:

TL/DR: Encoding AVIF images in WebAssembly is slow and error-prone. Out of aom & rav1e, aom seems to produce a faster and smaller outcome — mainly due to 4:2:0 subsampling.