We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

phaclon also need phpFastCache to improving our project?

  • gtihub phpfastcache,is that phalcon also need this class ? like we use composer to install other class?


51.2k
Accepted
answer

No. You can implement your own caching system. I recommend Redis. When you use ORM you can also cache the resultset:

$result = Model::find([
    'cache' => [
        'key' => 'model_cache_key',
        'lifetime' => 3600
    ]
]);