Cache Model interactions |
Not very sure about this but an idea that has arisen now studying how to use MySQL with Memcached...
Normally the cache is checked and if returns false is done a query in the database and then saves it in the cache similar to this example in the user guide... I think about the possibility that the Model already can do this automatically, having a property to configure the ttl of the cache. And then all Model methods (find*, update, etc) automatically update the cache. |
Messages In This Thread |
Cache Model interactions - by natanfelles - 01-02-2018, 06:42 PM
RE: Cache Model interactions - by kilishan - 01-02-2018, 08:37 PM
RE: Cache Model interactions - by natanfelles - 01-02-2018, 10:04 PM
RE: Cache Model interactions - by kilishan - 01-02-2018, 10:12 PM
RE: Cache Model interactions - by puschie - 01-03-2018, 04:15 AM
RE: Cache Model interactions - by natanfelles - 01-15-2018, 05:04 AM
RE: Cache Model interactions - by natanfelles - 01-15-2018, 06:31 AM
RE: Cache Model interactions - by natanfelles - 01-23-2018, 06:00 PM
|