mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-19 14:01:02 +01:00
A clean-room, pure-Rust foundation for MaterialCraft's node-based material authoring: the package/graph/node model, float image planes, the node library (atomic nodes, tileable noises, patterns, filters, PBR utilities, function graphs for the pixel processor), a content-addressed cooking cache, .mcraft packages and texture export, and the command-driven session with snapshot undo. Infrastructure (xtask, CI, packaging) copied from TextureCraft. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
495 B
ApacheConf
17 lines
495 B
ApacheConf
# 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>
|
|
</IfModule>
|