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
|
2026-10-15 02:21:30 -05:00
|
|
|
|
|
|
|
|
# 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
|