Hi there,
I have a basic page system set up where the page content is stored on a database.
Yii offers several different caching methods, which one is best for this situation?
Also I’d like the cache to refresh only when a page is updated or a new page added, how would I implement this?
Many thanks.
From the sounds of it, you were best off with COutputCache, porbably combined with CHttpCacheFilter. As for the page refreshes: You can actively clear cache entries via CCache.delete().
Thanks, I’ll have a read up about those.