Wallogit.com
2017 © Pedro Peláez
Neos cache management backend module
, (*2)
This Neos backend module provides cache management functions to Neos administrators who don't have access to a Flow shell. In this early version, the backend module simply allows for flushing different caches (Neos_Fusion_Content, Flow_Mvc_Routing_Route and Flow_Mvc_Routing_Resolve by default)., (*3)
Simply install this package via Composer. The package key is flownative/neos-cachemanagement., (*4)
To add a label and a description to a cache configuration, you can use the following configuration in your Settings.yaml:, (*5)
Flownative:
Neos:
CacheManagement:
caches:
Neos_Fusion_Content:
label: 'Neos Content'
description: 'Caches the rendering of Neos content elements.'
To hide the cache hint set the following configuration in your Settings.yaml:, (*6)
Flownative:
Neos:
CacheManagement:
ui:
showCacheHint: false
You can hide all caches which do not have a label set by using the following configuration in your Settings.yaml:, (*7)
Flownative:
Neos:
CacheManagement:
ui:
hideCachesWithoutLabel: true
or you can hide a specific cache configuration by using the following configuration in your Settings.yaml:, (*8)
Flownative:
Neos:
CacheManagement:
caches:
Neos_Fusion_Content:
hidden: true
To hide the backend class set the following configuration in your Settings.yaml:, (*9)
Flownative:
Neos:
CacheManagement:
ui:
showBackendClass: false
If you want to run a flow command after flushing a cache, you can use the following configuration in your Settings.yaml:, (*10)
Flownative:
Neos:
CacheManagement:
caches:
Neos_Fusion_Content:
runAfter: 'foo:bar --baz'
To run the flow command asynchronously:, (*11)
Flownative:
Neos:
CacheManagement:
caches:
Neos_Fusion_Content:
runAfter:
command: 'foo:bar --baz'
async: true