zachleat’s avatarzachleat’s Twitter Archive—№ 25,806

  1. …in reply to @benbrignell
    @benbrignell * @Netlify does some non-ideal caching with static assets, returns 304 on fonts. You can go more aggressive with custom headers (or by using a serviceworker for font assets) netlify.com/blog/2017/02/23/better-living-through-caching/ * Also use preload to race against first render
    1. …in reply to @zachleat
      @benbrignell @Netlify Also also you can use a single font-family to get benefits of font-synthesis (faux bold) in Safari. Replace Brignell Sunday Bold with Brignell Sunday and a font-weight: 700. Also also you can probably subset these a bit more? 65KB is a little hefty for two font files
      1. …in reply to @zachleat
        @benbrignell @Netlify If you only do one of these four things, I’d choose to put two font URLs in a serviceworker