Note: The Console blog is no longer active. I'm currently building the Sculpted Code blog, and when it's finished, I shall be posting there.
← Console Index
Clearing Dashcode’s Image Cache

If you’re working with images a lot in your dashboard widget, you may notice that Dashcode caches them between runs. This is not very kind of Dashcode because this doesn’t happen in Dashboard itself, and since our widget is destined for the Dashboard, we want to know how it will perform there.

Luckily, there is a solution! While it is running in Dashcode, refresh the widget (Command-R—with the widget in focus, of course). Not only does this perform the way it does in Dashboard, but it also happens to clear Dashcode’s annoying cache…