luci-base: package update based cache-busting string
authorOleg S <redacted>
Mon, 14 Apr 2025 13:08:45 +0000 (16:08 +0300)
committerPaul Donald <redacted>
Mon, 14 Apr 2025 13:16:54 +0000 (15:16 +0200)
commitf6f82b52eb72726abc7732d21e54aa43dd8b5058
tree219b81fd42260fbe1ad613107c8c5f118dbdf8da
parent0f119d57f231856fd55e8111c61281fd2b3bcb29
luci-base: package update based cache-busting string

Problem:
After updating the JS-part of any package, the user is forced to clear
the browser cache.

Fix:
Each time a package is removed or installed, the contents of the
"/lib/apk/db/installed" file are changed.
This fix add the modification time of the "/lib/apk/db/installed" file
to the version of the main LuCI package (for each js-file).

Signed-off-by: Oleg S <redacted>
modules/luci-base/ucode/runtime.uc
modules/luci-base/ucode/template/header.ut
git clone https://git.99rst.org/PROJECT