Stephen Lindberg

Product Designer @ Iterable

19 February 2022

Netlify

How to enable git-lfs using an environment variable:

ENABLE_GIT_LFS=true

How to cache static, immutable resources:

# netlify.toml
[[headers]]
  for = "/fonts/*"
  [headers.values]
    cache-control = '''
    max-age=365000000,
    public
    immutable'''