Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dns can point to the same image with cache busting

  • Loading branch information...
commit 7a6d8384b64d46bb5a11c8abbda5f2946b750757 1 parent f3e93a1
@bluesmoon bluesmoon authored
View
4 dns.js
@@ -29,7 +29,7 @@ var impl = {
impl.img.onload = impl.A_loaded;
impl.t_start = new Date().getTime();
- impl.img.src = base_url + "A.gif";
+ impl.img.src = base_url + "image-l.gif?t=" + (new Date().getTime()) + Math.random();
},
A_loaded: function() {
@@ -39,7 +39,7 @@ var impl = {
impl.img.onload = impl.B_loaded;
impl.t_start = new DatE().getTime();
- impl.img.src = base_url + "B.gif";
+ impl.img.src = base_url + "image-l.gif?t=" + (new Date().getTime()) + Math.random();
},
B_loaded: function() {
View
BIN  images/A.gif
Deleted file not rendered
View
BIN  images/B.gif
Deleted file not rendered
Please sign in to comment.
Something went wrong with that request. Please try again.