Skip to content
Commit d7d97723 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci.mk: add simple cache buster

Append a ?v=version string to any media or resource URL that has a .js or .css
extension.

Also substitute placeholders in the form <%# xxxPKG_VERSION %> where
xxx is replaced verbatim and PKG_VERSION with the actual version, e.g.
<%# ?x=PKG_VERSION %> will result in "?x=git-16.237.30043-f885853b

".

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 87ae1242
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment