Hi guys,
I want to enable the whole page cache for guest only. How can I do that?
This is what i have now…
public function filters()
{
return array(
array(
'COutputCache',
'duration'=>100,
),
);
}
Also, can someone please help me understand the varyByParam thing?
Say I have a forum, how can I cache the whole page and in the mean time, user who start a new post can still see their new post?
Thanks!