You are not logged in.
Pages: 1
Has anyone tried to cache a table row? And by that I mean using the Zend_Cache and Zend_Db_Table_Row
I have some tables that most of the time have the same data in it, so i find it useless to query the db each time for the same data.
I also tried caching at Zend_Db_Table level as I though that the row object would get the table object (cached) and send the query through it. But this fails each time.
Does anyone have a tip? Thanks!
Offline
Try this book, Zend Framework 1.8 Web Application Development September 2009, written by Keith Pope.
Offline
hye,
the official doc treat your problem.
http://framework.zend.com/manual/en/zen … ction.html
You just cache the result rowset or single row, when you get it back from the cache, it's not coupled to the DB anymore to be updated but there are ways to reconnect it to the DB.
Reading the official doc should solve your problem if it's as simple as you expose it.
best regards,
Anton
Offline
Pages: 1