Skip to content
  1. Extras
  2. modSizeControl
  3. Cleanup

Cleanup ​

The Cleanup block at the bottom of the Overview tab gathers what can be removed without harm to the site. Its sizes are measured on the disk when the page opens rather than taken from the scan.

Every action asks for a confirmation and needs the same permission as the standard MODX button. Without the permission the button is disabled.

Confirming the removal of old package versions

RowWhat it doesPermission
MODX cacheThe same as Clear Cache in the MODX menu. MODX builds the cache again as pages are openedempty_cache
LogsEmpties the files in core/cache/logs. The files stay, their records are goneerror_log_erase
Old package versionsRemoves package versions below the newest installed onepackages

Old package versions ​

After every upgrade, the archive and the unpacked folder of the previous version stay in core/packages. On a site that has been upgraded for a few years, that easily adds up to tens of megabytes.

The versions to be removed are listed under the row, and their signatures are shown in the confirmation. Only versions below the installed one are removed: a newer version that is downloaded but not installed yet is left alone. The components themselves are not affected.

The versions are removed by the same MODX processor that is behind the Remove button in the package versions window.

Подсказка

The figures on the tabs are as of the scan. Scan the site again after a cleanup to see the result.