Answer the question
In order to leave comments, you need to log in
Does it make sense to add the font to local storage?
Greetings
There are two fonts in base64 and there are two options for adding them:
Answer the question
In order to leave comments, you need to log in
The fact of the matter is that there is no point in the first option, if with option 2, the user will have it in the browser cache.
There is 3 option - use fonts from https://fonts.google.com/
The advantage of
this method compared to the second one is that the font may be in the user's cache even before visiting your site. Because on another site where the user was, the same font was already loaded from Google Fonts.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question