Skip to content

Using bl.ocks.org in Chrome-/ium

5. June 2013

I just began to manage my codes and snippets via Gist and I also want to visualise them with Mike Bostocks cool tool bl.ocks.org for immediate html-preview.

I realized a ‘reload-problem’ with that tool, already in my first tests with it. When I updated a Gist file, bl.ocks.org seemed to not update the visualisation! At least, I always just saw the old version of my code. (Discussed but not solved here)

After short googling, my first idea was confirmed: http://superuser.com/questions/89809/how-to-force-refresh-without-cache-in-google-chrome

The ‘problem’ is the caching of chromium! It caches so well, that even the ‘Ctrl+R’ or ‘Shift+F5’ trick did not make it. (Actually, caching is no problem, as it supports the nice speed of Chrome/-ium)

In chromium (and I think also in Chrome) …you have to enable the browser caching!

Let’s do it:

  1. open the development tools (Ctrl+Shift+i)
  2. open the ‘settings‘ (‘gearing wheel’ in the lower, right corner)
  3. check the box of ‘Disable cache

That’s it…now bl.ocks.org instantly shows the new version of my Gists!

***Actually…it is not instantly! There seems to exist another, inernal cache at bl.ocks.org…which causes a delay of max. 10min before you can finally see the new version of your data!

Advertisements

From → tutorial

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: