Lessons

Data optimization:Image URLs

Files in PNG, JPE, GIF, SVG format can be added to the page as a data:URL string.

This is what the image code of a regular white pixel looks like:

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+P+/HgAFhAJ/wlseKgAAAABJRU5ErkJggg=="> 

There may be dozens or hundreds of such images in the CSS file. They must be optimized before converting to data:URL.

Check your website
It's free and will take from 11 to 45 seconds

We use cookies. By continuing to use the site, you agree to the processing of personal data in accordance with privacy policy. I agree