Skip to content

Commit b2da726

Browse files
author
Luc
committed
Add stronger no cache header
1 parent 8b3083a commit b2da726

File tree

5 files changed

+1
-0
lines changed

5 files changed

+1
-0
lines changed

dist/grbl/debug/index.html.gz

39 Bytes
Binary file not shown.

dist/grbl/production/index.html.gz

40 Bytes
Binary file not shown.

dist/printer/debug/index.html.gz

40 Bytes
Binary file not shown.
42 Bytes
Binary file not shown.

src/components/http/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ function processCommands() {
340340
let url = httpCommandList[0].uri
341341
if (url.indexOf("?") != -1) url += "&PAGEID=" + getPageId()
342342
currentHttpCommand.open(httpCommandList[0].type, url, true)
343+
currentHttpCommand.setRequestHeader("Cache-Control", "no-cache, no-store, max-age=0")
343344
if (
344345
typeof httpCommandList[0].progressfn != "undefined" &&
345346
httpCommandList[0].progressfn != null

0 commit comments

Comments
 (0)