Yii Framework Forum: Best Way To Use Cache For Multiple Querys (Active Record) For A Dynamic View - Yii Framework Forum

Jump to content

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

Best Way To Use Cache For Multiple Querys (Active Record) For A Dynamic View Rate Topic: -----

#1 User is offline   ferminako 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 67
  • Joined: 27-February 13

Posted 11 September 2013 - 01:10 PM

Hi everyone, I wan't to use cache for my main page, this page loads different data because is dynamic but I think that I should use cache to improve the performance.

Can u help me?

Thanks!
0

#2 User is offline   Kostas Apazidis (KonApaz) 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,335
  • Joined: 21-February 11
  • Location:Greece

Posted 11 September 2013 - 05:22 PM

Hi

there are many way to cache according to your needs
1) Data Caching
2)Fragment Caching
3) Page Caching

read carefully this docmentation and pick up the appropriate
http://www.yiiframew...en/caching.data
Yii is the best php framework in the world!
It is also powerful and flexible for large scale websites
find our demo Yii extension on www.webkit.gr
Is it post useful? please v++ ;)
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