I have this checked in Internet Options:

Empty temporary internet files when browser is closed.

However it is hit or miss. Somtimes the files get emptied, sometimes they are left alone.