mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-29 20:47:18 -06:00
A startup key (last, empty or demo) chooses the project the page opens on load. empty restores the last visit's project and otherwise starts blank, never with the demo; demo always opens the demo project; last, or no key, is the current behaviour. ?empty and ?demo still win. The config file is fetched once per page load and the service worker never caches it.
18 lines
421 B
Plaintext
18 lines
421 B
Plaintext
# Netlify / Cloudflare Pages header rules (see HOSTING.md). Other hosts: set the same headers.
|
||
/*
|
||
X-Content-Type-Options: nosniff
|
||
|
||
# The file names don't change between releases: revalidate them (HOSTING.md › Any path works).
|
||
/*.wasm
|
||
Content-Type: application/wasm
|
||
Cache-Control: no-cache
|
||
|
||
/*.js
|
||
Cache-Control: no-cache
|
||
|
||
/index.html
|
||
Cache-Control: no-cache
|
||
|
||
/effectcraft-config.json
|
||
Cache-Control: no-cache
|