From my understanding, the content is only cached by the name of the @process configuration, so it is not really viable to use it for normal content-elements.
I could imagine a system of configuring a custom cache identifier, i.e. passing it down to the RenderPath prototype:
@process.ajaxify = Psmb.Ajaxify:Ajaxify {
entryIdentifier {
...
}
}
with some default values:
prototype(Psmb.Ajaxify:RenderPath) {
@class = 'Psmb\\Ajaxify\\Fusion\\RenderPathImplementation'
entryIdentifier = Neos.Neos:DataStructure {
node = ${node}
}
}
and the RenderPathImplementation building the entryIdentifier from the existing key and the (non-nullable, stringified) identifier parts.
Is this a sensible approach or am I missing something and this isn't even actually necessary?
From my understanding, the content is only cached by the name of the
@processconfiguration, so it is not really viable to use it for normal content-elements.I could imagine a system of configuring a custom cache identifier, i.e. passing it down to the
RenderPathprototype:with some default values:
and the
RenderPathImplementationbuilding the entryIdentifier from the existing key and the (non-nullable, stringified) identifier parts.Is this a sensible approach or am I missing something and this isn't even actually necessary?