Skip to content

Commit 2eb773d

Browse files
author
Bradley Meck
committed
use the more kosher query string for preventing cache
1 parent 65e66b5 commit 2eb773d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/static/sws.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function SessionWebSocket(cb) {
22
var xhr = new XMLHttpRequest()
33
//use https and go over the same port as the server
4-
xhr.open("GET","/"+(new Date()+0))
4+
xhr.open("GET","/?no-cache="+(new Date()+0))
55

66
//set our header to get the token
77
xhr.setRequestHeader("x-access-request-token","simple")

0 commit comments

Comments
 (0)