Menu

Nine files of headroom: what a 1,000-file deploy limit taught me about srcset and dead assets
πŸ“°

Nine files of headroom: what a 1,000-file deploy limit taught me about srcset and dead assets

DEV Community: cssΒ·Bo QianΒ·2 days ago
#eUxzcAMR
#devtocss#devto#dev#assets#const
Reading 0:00
15s threshold

I build a browser-side customizer for printed sneakers. You upload artwork, it gets sliced across 66 leather panels, and you see it on the actual shoe: bukefootwear.com . The geometry is covered in the first post , the magnification math in the second , the 44-second render in the third .

This one is about the part nobody writes about: the deploy.

Our release is a folder of static files pushed to Cloudflare Pages through a direct upload. That path caps a deployment at 1,000 files , and it fails at upload time, not build time. We found out where we stood by counting:

$ find cloudflare-release -type f | wc -l 1068 $ find cloudflare-release/assets -type f | wc -l 991

Enter fullscreen mode

Exit fullscreen mode

991 assets, 9 files of headroom, and a product roadmap that wanted to add more. That is not a performance problem.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.