Storage Sense cleans up after OneDrive
Tools from the old Disk Cleanup utility have been progressively moving into the Storage Sense section of the Settings app, where they run in the background instead of requiring you to reclaim disk space manually. This now includes freeing up space by deleting the local, cached copies of on-demand files from OneDrive that you've viewed or edited but haven't accessed in the last 30 days--but only when your disk space runs low.
If you want those files deleted more often, even if you're not low on disk space, choose Settings / System / Storage and click 'Change how we free up space automatically', then change the value under Run Storage Sense from 'During low free disk space' to daily, weekly or monthly. You can choose how quickly cached files become eligible for deletion by changing the value under 'OneDrive' from 30 days to 1, 14 or 60 days or pick 'Never' to stop them being removed.
Image: Mary Branscombe/TechRepublic