YII-高效

高效 一、緩存 //獲取緩存組件 $cache = Yii::$app->cache; //往緩存中寫數據 $cache ->add('key1','hello world'); $cache ->add('key1','hello world2'); //修改緩存 能夠設置 $cache->set('key1','hello world'); $cache->set('key1',
相關文章
相關標籤/搜索