If you're using Firefox instead of Safari you can clear all those things by going to to preferences (command ,) in Firefox and when the window pops up you go to the privacy tab. When your at that tab go down to the bottom and click the button that says clear now. A message will come up and ask you how much you want to clear and select what you would like to get rid of.