diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-06-04 11:29:05 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2014-06-04 11:29:05 +0200 |
commit | 0180fc32695249d471259ed67a6b0245b082b324 (patch) | |
tree | 715e55bca2796923dfbaecaaca96c6397335ccef | |
parent | bb111a9be2c80c1a3feab3770c2c38a5acfe2317 (diff) | |
download | d3viz-0180fc32695249d471259ed67a6b0245b082b324.tar.gz |
Cache bump for initial data load
-rw-r--r-- | js/spam.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -360,10 +360,11 @@ function requestUsersCsv(filename) { function run() { /* fetch CSV files and render the result */ + var cacheBump = '?cache-sucks=' + (new Date()).getTime() + Math.random(); getEdgesNodes( - requestUsersCsv('users.csv'), + requestUsersCsv('users.csv' + cacheBump), // source,target,value - d3.csv('links.csv') + d3.csv('links.csv' + cacheBump) .row(function (d) { return { source: +d.source, |