We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Cache all db requests

The incubator class https://github.com/phalcon/incubator/blob/master/Library/Phalcon/Db/Adapter/Cacheable/Mysql.php in Phalcon 2.08 worked fix fixes, on last version 3+ not worked, the first request passed others return null


i wrote a class that should auto cache your models check it out hope this helps