How do I truly flush Safari's cache?
In Safari, hold down down the ⇧ (Shift) key while clicking the refresh button. This will perform a “hard” refresh, which bypasses the local cache.

(To quickly clear the cache in Safari, hit ⌥+⌘+E, go to Privacy, and click “Remove All Website Data”.)