A former student sent along this tip for ridding Safari of persistent cache problems when testing new Web pages.
1. Delete the Safari cache folder. This should be in ~/Library/Caches/Safari/.
2. Create an empty text document and save it as ‘Safari’ (no extension) and place in ~/Library/Caches/. The name of the file must match the name of the old folder, thus preventing Safari from making a new one.