Rename cache bins upon flush cache and remove stale folders in cron or background process

Created on 18 February 2023, almost 2 years ago

Hello,

If I understand it correctly , when flush all cache happens, files in cache bins (very often quite many ) are deleted which takes some time for "slow" file systems.

Is it possible that :
1-When flush cache happens, rename the cache bin directory instead of wating all files to be removed. And set a scheduled job or cron job to remove this stale folder in a cron job or background process.? This will decrease the time for flush cache I guess?
2-Since quite often there are many files in cache bins, it is hard to expolore files or check them via ftp. Hence could there be a limit for the number of files for each bin directory with auto created subdirectories ?

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇧🇦Bosnia and Herzegovina ogursoy

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024