You can change Delivery Optimization Max Cache Age to control the time the files will be retained on the disk using REGEDIT or GPEDIT in Windows 11/10.