# Netlify headers for the Vocabio PWA.

# The service worker must always be revalidated, or a deploy can take days to
# reach a phone that already has the old one cached.
/sw.js
  Cache-Control: public, max-age=0, must-revalidate
  Service-Worker-Allowed: /

# The deck is regenerated whenever the .apkg is re-exported.
/data/deck.js
  Cache-Control: public, max-age=0, must-revalidate

/manifest.webmanifest
  Content-Type: application/manifest+json; charset=utf-8
  Cache-Control: public, max-age=0, must-revalidate

# Sensible defaults for everything else.
/*
  X-Content-Type-Options: nosniff
  Referrer-Policy: no-referrer
