Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Is Ok To Use Coutputcache And Chttpcachefilter Together?

$
0
0
I am interested to speed up the pages for my application developed with Yii. I have been optimizing the DB queries, using yiilite.php, APC and now it is time to cache the pages.

I have been investigating about using CHttpCacheFilter and COutputCache. Both offers a good way to cache the entire page, but I could not find any reference about using both methods together.

In this case, what is the best way to enable page cache for guest users only? I noticed that when the user is logged out, the page is still cached.

Thanks.

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>