summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-11-01 16:47:31 +0100
committerJo-Philipp Wich <jo@mein.io>2016-11-01 16:50:50 +0100
commitd7d97723fef1c4e5fe436b15e088d24d558246b3 (patch)
treea25ae7752b375e35598327c1a872b61b7e7df33e /modules/luci-base/luasrc
parent87ae1242b89245e47d2a63c7cbd411428c9b1e72 (diff)
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-f885853". Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc')
0 files changed, 0 insertions, 0 deletions