We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 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



8.4k

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