Skip to content
Replacement for the AssetUsageInNodePropertiesStrategy in Neos for large repositories
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Classes
Configuration
Tests/Functional
.travis.yml
LICENSE
Readme.md
composer.json

Readme.md

PunktDe.Elastic.AssetUsageInNodes

Travis Build Status Latest Stable Version Total Downloads

Problem this package solves

In order to determine which assets are used in which content elements, Neos needs to do a full like search through all properties of the Neos ContentRepository table. For larger projects, having > 100.000 nodes, this can get awfully slow. A click on an asset in the media module can take a minute and more. Scanning for unused assets using the /flow media:removeunused command can last for days.

Solution

This package extracts used assets during the Elasticsearch indexing and replaces the expensive like search through a fast and effective Elasticsearch query.

Installation

$ composer require punktde/elastic-assetusageinnodes
You can’t perform that action at this time.