How to stop Safari for Mac disk caching

from blog The Desolation of Blog, | ↗ original
What happens on the web stays on the web, right? Unfortunately, wrong. We know about web cookies, which sound better than they taste. When you visit a web site in a browser such as Safari, the site may store bits of data called cookies on your disk. Cookies are often abused for tracking but remain a necessary evil to allow you to remain logged into web site accounts. What you may not realize is that cookies are just the tip of the iceberg. We're talking hundreds of megabytes or even gigabytes of iceberg, enough to put a laptop's disk underwater. I thought the purpose of a web browser was to browse the web, didn't you? If I wanted to browse my file system, I'd use Finder. For the purpose of this blog post I did browse my file system, and I'll tell you what I found.