856f865cf98d
.htaccess
# Apache (see HOSTING.md). Needs mod_mime; mod_deflate and mod_headers are optional.
AddType application/wasm .wasm
AddType text/javascript .js
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/wasm text/javascript text/html
</IfModule>
<IfModule mod_headers.c>
<FilesMatch "\.(wasm|js)$">
Header set Cache-Control "public, max-age=31536000, immutable"
</FilesMatch>
<FilesMatch "^index\.html$">
Header set Cache-Control "no-cache"
</FilesMatch>
# app/: the app's loader and its list of parts keep their names from release to release; the
# parts (the app's wasm, gzipped and cut up) carry a content hash.
<FilesMatch "^(photocraft-web\.js|parts\.txt)$">
Header set Cache-Control "no-cache"
</FilesMatch>
<FilesMatch "\.part-[a-z]+$">
Header set Cache-Control "public, max-age=31536000, immutable"
</FilesMatch>
</IfModule>
No file is open. Choose one in the tree, or press Ctrl+O (⌘O on a Mac) to find one by name.
Syntax highlighting could not load. The unmodified read-only text remains available above.