Repository navigation
v2.3.0
Upgrade
- A new scheduled task
scalecommerce_vo.refresh_ownership_indexbuilds the ownership index; register it withbin/console plugin:update ScaleVideoOptimizer(orscheduled-task:register) and make sure the scheduled tasks run (cron /messenger:consume); until the first build (orbin/console scalecommerce:vo:index) video details use the per-uuid lookup as before (#70). - New plugin settings
ownershipIndexInterval(default 15 minutes),lookupBudgetSite(30) andlookupBudgetClient(10) with the previous limits as defaults; the index is stored in the object cache (cache.object, scoped by token), so a cache clear drops it until the next refresh (#70). - The API token needs
library:viewfor the index (without it the refresh logs one warning a day and video details keep using the per-uuid lookup); runbin/console scalecommerce:vo:indexin deploy scripts, since a cache clear or plugin update drops the index (#70). - A video detail with a fresh complete index answers "not found" for a uuid that is not in it without asking the API (HTTP cache lifetime capped at 5 minutes; on 6.6 not kept in the Store API route cache); a video uploaded since the last refresh needs the
video.readywebhook or the next refresh (#70). - Multiple web servers need a shared
cache.objectandLOCK_DSNfor the index (otherwise video details use the per-uuid lookup) (#70). VideoOptimizerClienttakes theOwnershipIndexas an optional last constructor argument (#70).
Added
- Ownership index of all videos of the organization (scheduled refresh, CLI
scalecommerce:vo:indexwith--status, webhook and admin updates); video detail pages are verified from it without an API call per video (#70). - Index state and a "Rebuild index now" action (permission editor) in the Webhook card of the VideoOptimizer module (#70).
- Settings for the lookup budgets (site-wide and per client, 1 to 1000) and the index refresh interval (5 to 1440 minutes) (#70).
API level: 2026-11-27