Clearing cache in Google-Chrome with Linux

13, Jul, 2010

The current Google-Chrome only comes with a manual cache clearing option so when you re-visit web pages you can often be looking at the cached version instead of the current version.

As a workaround I have changed the last lines of the google-chrome startup script to include removing of any cached files before it launches the program itself. On my Fedora 13 installation this lives in /opt/google/chrome/google-chrome.

So change the following:

# We don’t want bug-buddy intercepting our crashes. http://crbug.com/24120
GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME
export GNOME_DISABLE_CRASH_DIALOG

exec -a “$0” “$PROGDIR/chrome” “$@”

to:

# We don’t want bug-buddy intercepting our crashes. http://crbug.com/24120
GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME
export GNOME_DISABLE_CRASH_DIALOG

rm -f ${HOME}/.cache/google-chrome/Cache/*

exec -a “$0” “$PROGDIR/chrome” “$@”

The “rm -f” line forcefully removes and files in the local users Cache directory.

  • Posted by david in in Tips

Android and Maemo

12, Jul, 2010

it is interesting to see with all of the momentum for the iPhone that the likes of Nokia and HTC are releasing and embracing Linux based platforms such as Android and Maemo for their devices. Having used Windows Mobile versions on mobiles previously it is encouraging to see this trend to the faster and more stable underlying Linux OS.

  • Posted by david in in Linux

The dawn of a new blog

6, Mar, 2010

Welcome to my new blog page. I have setup a Linux based product called FlatPress for managing my blog entries.

FlatPress runs on Linux servers and what attracted me to using this product was that it didn’t require any database servers to be running such as MySQL.

Life in Linux/UNIX is very busy so hopefully I can commit some time to keeping the blog of interest to readers.

Enjoy,

David.M.Clark
david@davrom.com