Yii – Fragment Caching
Fragment caching provides caching of a fragment of a web page. Step1 − Add a new function called actionFragmentCaching() to the SiteController. public function actionFragmentCaching() { $user = new MyUser(); $user->name = "cached…