mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
Bust caches
This commit is contained in:
parent
b06647838d
commit
eb80be2a5b
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ function listenAutocomplete() {
|
||||||
function fetchLocalAutocomplete(event) {
|
function fetchLocalAutocomplete(event) {
|
||||||
if (!localFetched && event.target.dataset && 'ac' in event.target.dataset) {
|
if (!localFetched && event.target.dataset && 'ac' in event.target.dataset) {
|
||||||
localFetched = true;
|
localFetched = true;
|
||||||
fetch('/autocomplete/compiled', { credentials: 'omit', cache: 'force-cache' })
|
fetch('/autocomplete/compiled?vsn=2', { credentials: 'omit', cache: 'force-cache' })
|
||||||
.then(handleError)
|
.then(handleError)
|
||||||
.then(resp => resp.arrayBuffer())
|
.then(resp => resp.arrayBuffer())
|
||||||
.then(buf => localAc = new LocalAutocompleter(buf));
|
.then(buf => localAc = new LocalAutocompleter(buf));
|
||||||
|
|
Loading…
Reference in a new issue