Jennifer Zelazny

Random and Opinionated Thoughts

Disable the Cache in Safari 11

Hints HOWTOs Web Development
Posted by: Jennifer Zelazny | 1 Comment

With Safari 11 – we lost the “Disable Cache” in the Safari Developer menu. If you are a developer – you know this comes in handy when debugging any CSS/JS changes.

After spending a few days frustrated – it was time to find a solution so I could disable the cache (permanently). If you are looking for the same solution – look no further.

Using the command line:

rm -rf ~/Library/Caches/ ; echo > ~/Library/Caches/

That will remove the current cache forever and replace it with a file (not used to do any caching).

You are welcome.

One thought on “Disable the Cache in Safari 11”

  1. jb

    Thank you! I’ve been frustrated with this since they launched 11.0
    Wonder why they removed the disable cache option.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.