Safari Webpage Preview

Check out my update on this article here.

I was just going through the idea of a simple script to clear Safari’s cache. Being a new Snow Leopard recruit, I didn’t know where the cache is located, so I started looking in the usual suspect places. Before I got far, I landed in the ~/Library/Caches/com.apple.Safari/Webpage Previews folder. For those of you who don’t realize the significance of that folder, I was with you up until about 5 minutes ago.
This folder contained about 500MB of webpage snapshots of various places I’d visited over the past, oh, 4 days. The reason behind all the images? Cover Flow. When you browse your bookmarks bar in Cover Flow, Safari can show you all of the sites in your history with full page images. This is cool, but seriously….does it need to keep them all? If you hit something cool like my site here (*cough*) more than once a day, it will take more than one image. 500MB?!? I never knew that just Safari’s iteration of Cover Flow was taking up that much disk space on my system. That’s a lot of space! Fortunately there is a really simple solution to getting rid of the images.
First, go to your Safari menu and click “Reset Safari”(current as of 4.0.3 on Snow Leopard):

Click Reset in Safari MenuWebpage-Preview-Box

There are many options, and I do recommend once in a while resetting all of them (check all the boxes) to keep your web browsing going smooth. This particular option, if you have a small amount of free hard disk space, could make a lot of difference on system performance. Depending on your browsing habits, this could seriously chew up a lot of disk. Clear it out, and then use the web as you normally would. Before you go to bed, to work, or whatever, check this folder for size again:
~/Library/Caches/com.apple.Safari/Webpage Previews, this way you have a good idea of how much space this takes up in one of your normal web sessions.