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 need to be optimized before converting to data:URL.

Tariff plans for working with the service

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