Changed cache delete_files to glob to prevent it from deleting hidden and subdirectories