- Issue created by @prudloff
- Merge request !10Issue #3463590: glossaryaz_widget_order disables facet cache → (Open) created by prudloff
- Status changed to Needs review
over 1 year ago 5:34pm 24 July 2024
GlossaryAZWidgetOrderProcessor extends ProcessorPluginBase which uses the UncacheableDependencyTrait trait.
So using this processor on a facet makes the facet uncacheable.
However there is no reason the result of this processor could not be cached (it only changes when the facet config changes or when the facet values change).
Enable Sort by custom order on a facet.
Save the view display using this facet again : the view display now has this config:
cache_metadata:
max-age: 0
The processor should use the UnchangingCacheableDependencyTrait trait. (See RawValueWidgetOrderProcessor for example.)
Needs review
4.2
Code