chore(web): add caddy compression and re-export MuJoCo presets at 60Hz

This commit is contained in:
5shekel
2026-02-19 18:54:29 +02:00
parent d48180476b
commit 100d5115f0
5 changed files with 17 additions and 1 deletions

5
Caddyfile Normal file
View File

@@ -0,0 +1,5 @@
:8676 {
root * .
file_server
encode zstd gzip
}

View File

@@ -46,7 +46,15 @@ Any static server is enough.
No build step is required. Three.js is loaded via ESM URL imports.
Example with Python:
Recommended (compressed static serving for large MuJoCo JSON presets):
```bash
caddy run
```
This uses the repo `Caddyfile` (`zstd` + `gzip`) on `http://localhost:8676`.
If you do not have Caddy installed, a basic uncompressed fallback is:
```bash
python3 -m http.server 8676

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long