Guide on dynamic image resizing with Node.js and the Serverless Framework by Nick Gottlieb is a good start for entering web app development along with understanding how serverless can benefit here. However, here we’ll talk mostly not about Serverless Framework pros, but about auto-scaling, pay-per-execution functions that let you avoid a massive collection of pre-scaled cloud data, and also significantly cut down on your compute costs…
You should understand that large images dramatically increase page load times, impacting the user experience and driving up bounce rates. Imagine a case, when the image download gets interrupted for mobile visitors and they have to reload the entire page, eating into their data plan and causing frustration to boot. And finally, most visitors can’t tell the difference between an original image and one with a data footprint 10 times smaller.
For such cases, the next material will show you the example of how to implement the Serverless image-resizing API. Check it!
And read our latest JS digest with more great solutions to simplify a developer’s life!
p.s. Laziness is a great thing! It helps us to put more efforts only once to make the rest of our life much simpler.