Files
photocraft/packaging/web/_headers
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
704 B
Plaintext
Raw Normal View History

2026-10-01 10:49:51 -04:00
# Netlify / Cloudflare Pages header rules (see HOSTING.md). Other hosts: set the same headers.
/*
X-Content-Type-Options: nosniff
/*.wasm
Content-Type: application/wasm
Cache-Control: public, max-age=31536000, immutable
/*.js
Cache-Control: public, max-age=31536000, immutable
/index.html
Cache-Control: no-cache
# app/ holds the app's wasm, gzipped and cut into parts whose names carry a content hash...
/app/*
Cache-Control: public, max-age=31536000, immutable
# ...and the app's loader and its list of parts, which keep their names from release to release.
/app/photocraft-web.js
! Cache-Control
Cache-Control: no-cache
/app/parts.txt
! Cache-Control
Cache-Control: no-cache