Bust caches

This commit is contained in:
byte[] 2021-12-29 20:10:47 -05:00
parent b06647838d
commit eb80be2a5b

View file

@ -172,7 +172,7 @@ function listenAutocomplete() {
function fetchLocalAutocomplete(event) {
if (!localFetched && event.target.dataset && 'ac' in event.target.dataset) {
localFetched = true;
fetch('/autocomplete/compiled', { credentials: 'omit', cache: 'force-cache' })
fetch('/autocomplete/compiled?vsn=2', { credentials: 'omit', cache: 'force-cache' })
.then(handleError)
.then(resp => resp.arrayBuffer())
.then(buf => localAc = new LocalAutocompleter(buf));