craft-preparse-field
craft-preparse-field copied to clipboard
Related entries count cache
I suppose you've had this request a gazillion times already, but for me this would be the holy grail in terms of performance. I have a products
section and a creators
section, and I'd love to cache the number of creators that use a certain product so I can sort products by popularity.
Right now, I have a products.productCreatorCount
Preparse field that resolves craft.entries().section('creators').relatedTo(element).count()
, but is obviously only updated when the product is saved, not the creator (i.e. when a Product is added to or removed from a Creator).
Is this feature remotely possible and considered for the Preparse roadmap?
I am also looking for something very similar. Did you find any solutions?