Yii Framework Forum: Db Connection & Cache - Yii Framework Forum

Jump to content

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

Db Connection & Cache Avoiding opening new db connection when using cache Rate Topic: -----

#1 User is offline   arfeen 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 14
  • Joined: 18-November 11

Posted 24 December 2012 - 05:51 AM

When using cache with AR, Yii always opens a connection because it prepares the query statements. It should not always open the connection when the data set exist in the cache.
0

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