aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-24 01:16:17 +0300
committerGravatar Vitaly Takmazov2018-10-24 01:16:17 +0300
commit6af07890fb74f38385dd148cb9107048e4347c1f (patch)
tree265201ce8ade813aab028fb32cfd6893dc235fae /juick-server/src/main
parent82de22618ef0e95450ce43fa519ed1203d256674 (diff)
Try to force cache in scripts
Diffstat (limited to 'juick-server/src/main')
-rw-r--r--juick-server/src/main/assets/scripts.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-server/src/main/assets/scripts.js b/juick-server/src/main/assets/scripts.js
index 25450d30..51314b0b 100644
--- a/juick-server/src/main/assets/scripts.js
+++ b/juick-server/src/main/assets/scripts.js
@@ -607,6 +607,7 @@ function fetchUserUri(dataUri, callback) {
let data = new FormData();
data.append('uri', dataUri);
fetch('/u/', {
+ cache: 'force-cache',
method: 'POST',
body: data
}).then(handleErrors)