Internet options/ advanced tab/ security/ choose empty temporary files when browser closes
You could also install a program such as Ccleaner. It takes seconds to clean up logs, temp files, cookies, etc.
Remove temporary files, logs, cookies, etc. by using Ccleaner. Do not use "Advanced Settings" or the "Issues" button. Use only the default settings. http://www.ccleaner.com/
When installing Ccleaner you will be offered the Yahoo Toolbar. If you don't want it, be sure to UNcheck.