September 8, 2017 at 5:05 am #9477
1. 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-boldSeptember 8, 2017 at 6:52 pm #9485
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.