From 0893a48fab63c0f62caed9d03ed99fd879c82300 Mon Sep 17 00:00:00 2001 From: zwfxxxxx Date: Thu, 3 Sep 2026 11:16:52 +0800 Subject: [PATCH] document HTML page asset cache busting --- docs/html-pages/low-code-quickstart.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/html-pages/low-code-quickstart.md b/docs/html-pages/low-code-quickstart.md index 4edb9ddd..a1f9ea26 100644 --- a/docs/html-pages/low-code-quickstart.md +++ b/docs/html-pages/low-code-quickstart.md @@ -239,6 +239,17 @@ Save the file again when you are done. ## 4. Zip it +!!! warning "Update resource URLs when you update the page" + + HTML pages cache JavaScript, CSS, images and other static resources for performance. When you change a resource, update its URL in `index.html` by adding a new query parameter, for example: + + ```html + + + ``` + + Use a new value each time the resource changes. Otherwise, the browser may continue to use the older cached file. + Make a **ZIP** archive that contains `index.html` at the **top level** — not inside a folder — together with any other files the page needs (images, etc.). The ZIP can have any name. !!! warning "`index.html` must be at the root of the ZIP"