# Serve the radio playlist files with the right MIME so phones/desktop players offer to
# open them in a media/radio app instead of showing them as plain text. Cloudflare Pages
# would otherwise auto-detect these as text/plain, which breaks the "open in app" hint.
/radio.pls
  Content-Type: audio/x-scpls
  Content-Disposition: attachment; filename="chiptunes.pls"
  Cache-Control: public, max-age=3600
/radio.m3u
  Content-Type: audio/x-mpegurl
  Content-Disposition: attachment; filename="chiptunes.m3u"
  Cache-Control: public, max-age=3600
/listen.pls
  Content-Type: audio/x-scpls
  Content-Disposition: attachment; filename="chiptunes.pls"
  Cache-Control: public, max-age=3600
/listen.m3u
  Content-Type: audio/x-mpegurl; charset=utf-8
  Content-Disposition: attachment; filename="chiptunes.m3u"
  Cache-Control: public, max-age=3600

# The app bundle carries a content hash in its name, so it can be cached for
# good: a new build is a new filename. This is what stops every visit paying to
# download and re-parse 1.7MB of JavaScript.
/app.*.js
  Cache-Control: public, max-age=31536000, immutable
