Yii Framework Forum: Schemacachingduration ? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Schemacachingduration ?

#1 User is offline   rezaonline.net 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 89
  • Joined: 20-June 12

Posted 26 December 2012 - 08:28 PM

سلام دوستان توی فایل کانفیگ دارم

'db'=>array(
			'connectionString' => 'mysql:host=localhost;dbname=blog',
			'emulatePrepare' => true,
			'username' => 'root',
			'password' => '',
			'charset' => 'utf8',
			'schemaCachingDuration'=>7200,
			'enableProfiling'=>true ,
			'enableParamLogging'=>true ,
		)

اما توی پروفایلر کوئری یه همچین کوئری هایی هنوز هست

SHOW COLUMNS FROM `getway`
SHOW CREATE TABLE `getway

مگه نباید این کوئری ها کش بشن ؟ تنظیمات دیگه ای داره ؟

rezaworkshop.ir - rezaonline.net/blog
php5 , mysql , html5 , css3 , jquery + ajax
0

#2 User is offline   aliv 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 03-May 12

Posted 28 December 2012 - 05:39 AM

شما مشخص کردید که متا دیتا کش بشه اما متد کش رو مشخص نکردید ظاهرا
مثلا:
'cache'=>array(
'class'=>'system.caching.CDbCache',
'connectionID'=>'db',
),


1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users