ES File Cleanup documentation Database and Source File Discovery | ES File Cleanup

The last two usage checks extend discovery beyond the usual content fields. They are useful when Joomla files are referenced by custom templates or structured data, but they cannot guarantee complete site-wide coverage.

Scan database

Scans Scan database panel showing bounded read-only record processing

This check searches eligible Joomla-prefixed database tables in bounded batches. It skips unsupported, private, session or historical data, unsuitable tables and oversized fields. Its matches are possible uses, not proof of an active frontend reference.

  1. Select Scan database.
  2. Choose Records per request; the visible interface offers values up to 200.
  3. Use Search database for media and let all batches finish.
  4. Review the possible-match count and errors before continuing.

On slower hosting, reduce the records-per-request setting to 25 or 50.

Scan source files

Scans Scan source files panel with Files per request and possible matches

This check looks for possible media paths in eligible CSS, JavaScript, HTML, JSON, PHP and template files. The search is read-only. It excludes certain directories such as vendor trees, cache and backups, and is not a full-site guarantee.

The panel documents a 2 MiB per-file inspection limit. Large, unreadable or changed files may result in errors. Use Files per request to control batch size; select Search source files for media to run it.

How to interpret possible matches

A detected string can be a comment, an old value or a dynamic pattern. Open the referenced source or file details and verify whether it currently makes use of the file. Conversely, a file with no detected string may still be used in runtime-generated paths or third-party extensions outside supported sources.