| name | web-asset-reload |
|---|---|
| description | Use this skill when working on the ESP-IDF firmware (or any ESP-IDF web UI) and questions arise about how already-open browser pages detect front-end (HTML/JS/CSS) changes and decide whether to reload after an OTA or reflash. It covers both deployment models (assets embedded in the firmware binary vs published on a flash filesystem), the build-time or runtime asset content hash, the assets field in /api/state and /api/stream, the bootAssets comparison in the web UI, why reload keys on the asset hash rather than version/build, how to add or change a served asset, and the test-1 / test-2 validation procedure. |
本 skill 说明 ESP-IDF 设备如何让其已打开的网页在前端资源(HTML/JS/CSS/ICO)