Home › Forums › Use Any Fonts › Cache font
This topic contains 1 reply, has 2 voices, and was last updated by Dinesh 12 months ago.
-
AuthorPosts
-
September 8, 2017 at 5:05 am #9477
Cavid Muradov1. Hi how can I cache fonts? https://developers.google.com/speed/pagespeed/insights/?hl=en&url=http%3A%2F%2FMasterstudio.az%2F&tab=mobile
2. How can I add that if font-weight: 400, will be font-family: X, when font-weight: 600, font-family: X-bold
September 8, 2017 at 6:52 pm #9485Hi Cavid,
Leverage caching the fonts depends upon your server settings. You can add few code in your htaccess file to ask the server to cache the font files as well. As of now your server is leverage caching for images, css and js.
This thread should help you. https://stackoverflow.com/questions/26553140/how-do-i-leverage-browser-caching-of-woff-fonts
We are sorry but we don’t have the font weight variation system. You can directly set it via css for your elements to make it bold.
Thanks
-
AuthorPosts
The topic ‘Cache font’ is closed to new replies.

