How to invalidate Model cache | Phalcon 4 – PHP
I've the following to cache model query and it is working fine, public static function getSubcategories($partnerId) { $instance = new self(); $q = $instance->modelsManager->createBuilder(); $q = $q->columns([ 'cc.category', 'cc.type', 'cc.slug', 'cc.title', ]) ->from(['cc' => CatalogCategories::class]) ->join(PartnerTypes::class, 'cc.category = pt.typeSlug', 'pt')…