Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
This is browser dependent. For Safari, Preferences - Privacy - Remove All Website Data.And/or, Develop-Empty caches. Fox and Chrome have their own settings. Something you may want is "Private Browsing" which doesn't remember anything after you close the tab.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.