OrgPad logo

Optimizing OrgPad’s Landing Page

09.11.2026 – Pavel Klavík, Kamila Klavíková

While working on OrgPad's new landing page, we have spent a lot of time making it small and fast. This includes optimizing JS bundle size with ClojureScript, using the AVIF image format and optimizing video sizes by encoding them in multiple formats. In the blog post, we describe our experience and what we learned along the way.

Optimizing OrgPad’s Landing Page

#development, #AVIF, #ClojureScript, #tech, #performance

Optimizing bundle size

Macros for smaller code

Simplifying code

AVIF images

JPEG image encodingWebP image encodingAVIF image encodingJPEG encoding errorWebP encoding errorAVIF encoding error
FormatSizeMAERMSEPSNR
JPG49.0 kB0.839%1.138%38.880 dB
WebP38.7 kB0.843%1.140%38.864 dB
AVIF24.6 kB0.835%1.138%38.875 dB

Using AVIF inside OrgPad

Videos

CodecLight modeDark modeTotal
AV1 / WebM8.32 MB6.08 MB14.40 MB
HEVC / H.265 MP410.56 MB9.13 MB19.69 MB
H.264 / AVC MP412.35 MB12.13 MB24.48 MB

AV1 encoding

HEVC and H.264 encoding