Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress Orphaned

90107[FEATURE] Introduce database-only storage for OnlineMedia files

Benni Mack CR 0 V -1 Hard +594 −49 updated 02/08/26, 11:44

Commit message

This change introduces a new database-only approach for storing
OnlineMedia files (YouTube, Vimeo) that significantly improves
performance by eliminating file system I/O operations.

The patch changes the following:
* Add onlinemedia_payload field to sys_file table
* Reduce I/O operations for OnlineMedia file access
* Maintain backward compatibility with existing files
* Provide upgrade wizard for seamless migration

TYPO3 now stores media IDs directly in the database
instead of requiring physical container files.

TODO / OPEN QUESTIONS
---------------------
Since Online media was used a lot to integrate third-party
DAM systems, it should be considered if we should rename
this feature in the short/long term, especially with the
interfaces, and remove the registration part?

We could then shovel all of OnlineMediaFileService into
the FileIndexRepository, and also consider using
a different name

Other pending questions:
- What to do with "re-indexing" of physical files?
  Should we split this with online media files?
- How to handle file list module now?
- how to "delete" existing online media files?

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 3
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/07/90107/3 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/07/90107/3 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V -1 Blocked
    • core-ci -1 CI

Issues 1

Files 14

Review log 710

  1. Benni Mack uploaded patch set 1 07/21/25, 17:13

  2. core-ci voted on patch set 1 V -1 07/21/25, 17:21 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/82070

  3. Garvin Hicking commented on patch set 1 07/21/25, 19:24

    Unresolved

    (the "find missing files" / "delete missing file entries" cleanup tasks might need adoption too?) (just a remark, didnt check the patch yet)
  4. Francois Suter uploaded patch set 2 V -1 10/30/25, 11:32

  5. Francois Suter commented on patch set 2 10/30/25, 11:32

    Just rebased the code to make it conflict-free
  6. core-ci voted on patch set 2 V -1 10/30/25, 11:50 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88123

  7. Francois Suter uploaded patch set 3 V -1 10/30/25, 20:30

  8. core-ci voted on patch set 3 V -1 10/30/25, 20:46 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88193

  9. Georg Ringer commented on patch set 3 10/30/25, 20:59

    sys_file.php:123 Unresolved

    I really have some issues with the wording. can we use something like external_media, remote_media? all assets are kind of online
  10. Benni Mack marked it work in progress 02/08/26, 11:44