I Thank you for the info although I am trying to do this I can't find in opera:config were it says empty on exit and I am in the cache thanks
It is under disk cache. there are two sectiions, one is cache the other is disk cache. click on disk cache then check the box next to empty on exit and click save.