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

findFirst Caching

I am trying to override the default caching life - I overrode the findFirst method, and now when I pass in the following it just doesnt return results:

Any idea what I may be doing wrong?

Array ( [conditions] => id = 22094 [cache] => Array ( [key] => Locations:conditions:id = 22094 [lifetime] => 500 )

)



98.9k

Could you please post the code you're using and it's causing trouble?