N
N
Norval2016-12-18 03:06:18
Character encoding
Norval, 2016-12-18 03:06:18

Pictures via base64?

I welcome everyone!
I always connect pictures with the IMG tag, although I have seen them encoded via base64... When
it makes sense, what is better, etc.
minus the request to the server", so to speak.
Reasonably asked in the comments: "The question is what?"
I clarify: to use it or not ... and when to use it, if to use it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cyberlain, 2016-12-18
@Norval

I guess the question is when is it better to use base64. My answer is to not use it at all. Unless in the case when a lot of small icons are inserted into the sprite, then you can take it and convert it to base64, just to avoid one request to the server. I think this is an outdated topic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question