Best method of Zend Framework caching
Posted
by iamthejeff
on Stack Overflow
See other posts from Stack Overflow
or by iamthejeff
Published on 2010-06-15T02:56:44Z
Indexed on
2010/06/15
3:02 UTC
Read the original article
Hit count: 214
I have a blog built using Zend Framework, which I realize might be a bit overkill for a blog alone, but I am planning on adding other features in the future. Nevertheless, I've noticed pages could be a little speedier. I've done a basic caching method that basically captures everything in index.php (Core frontend and File backend), which works great, but unfortunately it also prevents dynamic page contents from updating (messages like "this was posted 5 minutes ago", etc) until the cache period expires.
So my question is what would be the best method of caching to improve performance? I am doing fairly basic queries which are mostly simple selects, not many joins or anything fancy (using Zend_Db_Table), and even on a small database page loads are a little sluggish. Is it worth it to cache queries or should I focus my time elsewhere?
© Stack Overflow or respective owner