deploy: enforce no-cache for index.html and version.js via publish-dir htaccess

This commit is contained in:
Jage9
2026-02-22 19:08:20 -05:00
parent c7e2a10652
commit 590e33d374
3 changed files with 17 additions and 0 deletions

View File

@@ -104,6 +104,8 @@ Notes:
- Replace `yourdomain.com` with your real domain.
- Script copies `deploy/apache/chgrid-vhost-snippet.conf`, runs `rebuildhttpdconf`, then restarts Apache via WHM restart command.
- Snippet now includes no-cache headers for `/chgrid/` and `/chgrid/index.html` so client updates are not stuck on stale HTML.
- `deploy_client.sh` also installs `/chgrid/.htaccess` from `deploy/apache/chgrid-public-htaccess`
to force no-cache on `index.html` and `version.js` in shared-host setups.
## 7) Optional HTTPS relay for HTTP radio streams