3 mins

Base64-encoding images for use in web pages has been around for a while. Conventional wisdom stated that images should be encoded as base64 text for inline use in html for two primary reasons: reduce the number of http requests in a single page improve the performance of the page by reducing page load time There’s no disputing - at all - that inlining the encoding of an image in the img tag eliminates the additional page load of a real image.