4 min read
When to Base64-Encode an Image (and When Not To)
Data URIs let you embed an image directly in HTML or CSS as Base64 text. It works, it's overused, and it makes some pages slower rather than faster.
Topic
2 articles tagged “base64”.
Data URIs let you embed an image directly in HTML or CSS as Base64 text. It works, it's overused, and it makes some pages slower rather than faster.
Base64 padding explained. Why strings end in one or two equals signs, or none at all, the bit-level reason, and when it is safe to drop the padding.