Question: how to delete temporary internet files automatically?
Answer: Open Settings app. Navigate to System > Storage.
In the Storage sense section, turn on the Storage sense feature by moving the slider to on position.
Click Change how we free up space link. ... 
Turn on Delete temporary files that my apps aren't using option.