urlのパラメータ末尾にランダムな値を入れる。
//ex) superagent
return req.get(url).set(...)
.query({_:Date.now() +''+performance.now().toString().replace('.','') }) //no-chash
.then(res=>res.body)
秒単位でも問題ない場合
.query({_:Date.now()})
Date系がない場合
.query({_:Math.floor(Math.random()*10000000000000)})
更新したデータによってcacheの切り替えをする場合。
//hashが被ればcacheデータを使ってくれる。ブラウザなどに依存。
.query({_:md5(newdata)})