You can try resetting Safari by going Safari/Reset Safari. You may not want to reset everything, so un-check the boxes you don't want to have to fill in again as noted in this Safari Help topic. This will reset some caches.

Reset Safari
If you use a shared or public computer, you may want to reset Safari to deter other people from seeing which webpages you visited and other information about how you used Safari.
Important: Plug-ins—small apps that perform specific tasks, such as playing multimedia files—are often installed to extend computers’ capabilities. Some plug-ins store information about which sites you visited. Such information is not deleted when you reset Safari, so resetting Safari may not remove every trace of your browsing history.
- Choose Safari > Reset Safari.
- Deselect any items you don’t want to reset:
| Clear history: | Clears the list of webpages you viewed, empties caches, removes website icons, and clears the list of recent searches. Also clears the Java website settings list of websites set to Block Always.Website icons are small graphics that help identify sites on the Internet. You see them in the address and search field, the bookmarks list, and other places. You can see your recent searches by clicking the magnifying glass at the left end of the address and search field when it’s empty. |
| Reset Top Sites: | Clears any changes you made to Top Sites, such as adding or pinning sites. If you also clear your history, your Top Sites page reverts to showing the webpage previews displayed when you first installed Safari. |
| Remove all webpage preview images: | Clears any thumbnail images Safari saved of webpages you viewed. |
| Reset all location warnings: | Clears any information that websites saved about your location. |
| Reset all website notification warnings: | Removes all record of websites that you have allowed or denied permissions to post Notification Center alerts. |
| Remove all website data: | Removes cookies, tracking information, and other data that websites stored on your computer. Also clears the Java website settings list. |
| Remove saved names and passwords: | Removes user names and passwords that Safari automatically fills in at websites that require them (if the AutoFill feature is turned on). |
| Remove other AutoFill form text: | Removes information you’ve entered in a web form while the AutoFill feature is turned on, excluding information drawn from your card in Contacts (or Address Book in OS X Lion). Removing AutoFill information does not remove information from your card. |
| Clear the Downloads list: | Clears the list of files you downloaded from websites. Only the names are removed; the files themselves are still on your disk until you remove them. |
| Close all Safari windows: | If you don’t close all Safari windows, someone could use the Back and Forward buttons to view the webpages you visited. |
- Click Reset.
The other thing you can try is deleting the com.apple.Safari.plist.
Quit the application.
You need to look in your user Library/Preferences for the .plist. Either hold down the option key while using the Finder “Go To Folder” command
and select your user Library in your home folder or use the Finder “Go To Folder” command and enter ~/Library/Preferences/com.apple.Safari.plist. Move the .plist to your desktop.
Open the application and test. If it works okay, delete the plist(s) from the desktop.
If the application is the same, return the .plist(s) to where you got them from, overwriting the newer ones.
If you prefer to make your User library permanently visible, use the Terminal command found below.
Show User Library
You might want to bookmark the command. I had to use it again after I installed 10.8.5. I have also been informed that if you drag the user library to Finder it will remain visible.