mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
assets: also use cache busting via query string in files imported from acs.js
Before this change, a client would require two versions of the same assets (with
and without randomVersionString), wasting resources and triggering all sorts of
hard to debug inconsistencies.
This change should have been part of 95fd5ce2a4
and completes it.
This commit is contained in:
parent
edfc7a4916
commit
6dd9e9adc8
2 changed files with 5 additions and 4 deletions
|
@ -1076,6 +1076,7 @@ async function handleClientReady(client, message)
|
|||
var clientVars = {
|
||||
"skinName": settings.skinName,
|
||||
"skinVariants": settings.skinVariants,
|
||||
"randomVersionString": settings.randomVersionString,
|
||||
"accountPrivs": {
|
||||
"maxRevisions": 100
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue