SafeCache is a Mozilla Firefox browser extension that protects your privacy by silently defending against cache-based tracking techniques. It allows embedded content to be cached, but segments the cache according to the domain of the originating page.
Once installed, you can enable/disable SafeCache in the Privacy pane of the Firefox Options menu.
Download: SafeCache 0.5