Wedding site tuned for weak mobile networks: CJK font cut from 4.9MB to 63KB

JohnPhamous · x · 2026-11-30

A breakdown of a wedding website built mostly for phones on unreliable connections: serving English/Vietnamese/Mandarin based on accept-language, larger base font sizes for older readers, subsetting CJK glyphs to shrink the font from 4.9MB to 63KB, and packing all images into a single 6KB image to save round trips. The site doubles as a charming pixel-art cultural guide to Taiwanese and Vietnamese wedding treats.

Original post →

More from coding & agent

coding & agent channel →