Is Doing A Blog Worth It? 11 Focus Points
This works surprisingly well – and, best of all, allows us to keep our infrastructure simple. If not for this trick, we’d need to implement a separate queueing system for converting images in the background. But with this trick, we don’t need to – so there’s no extra complexity and no extra bugs.
When We Don’t Use AVIF
This is a common approach, and it works well, but it comes with a drawback. Because the first uncached request has to convert and resize the image, it takes longer than subsequent ones. With WebP, “longer” is noticeable but acceptable: in our infrastructure, WebP conversion typically adds 100-300 milliseconds. However, with AVIF, this grows to 1-2 seconds.
This works surprisingly well – and, best of all, allows us to keep our infrastructure simple. If not for this trick, we’d need to implement a separate queueing system for converting images in the background. But with this trick, we don’t need to – so there’s no extra complexity and no extra bugs.
When We Don’t Use AVIF
This is a common approach, and it works well, but it comes with a drawback. Because the first uncached request has to convert and resize the image, it takes longer than subsequent ones. With WebP, “longer” is noticeable but acceptable: in our infrastructure, WebP conversion typically adds 100-300 milliseconds. However, with AVIF, this grows to 1-2 seconds.
Many people would say that it is absolute madness to keep on doing the same thing, time after time, expecting to get a different result or for something different to happen.
Stay tuned for more in-depth videos
From seamless content management to code blocks, search, and ready-to-use templates, Framer equips you with a toolkit for exceptional documentation. Stay tuned for more Inside Framer episodes, where we’ll unveil exciting Framer’s capabilities!
Get The Best Updates
It's good time to subcribe and get the latest promotions