Yii Framework Forum: Apc In Yii - Yii Framework Forum

Jump to content

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

Apc In Yii APC in yii

#1 User is offline   Raghu_learn 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 05-June 14

Posted 17 June 2014 - 05:13 AM

My website performance is too slow. How to improve the performance of my website using apc in yii.
0

#2 User is offline   rei 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 329
  • Joined: 10-November 10

Posted 18 June 2014 - 06:06 AM

It is not difficult to do. You can read the tutorial here.
Fipick - Find and pick recommendations
0

#3 User is offline   nirmalroka 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 52
  • Joined: 10-July 12
  • Location:Kathmandu Nepal

Posted 05 August 2014 - 04:37 AM

enabling apc only can't able to get the best performance.

Its the matter of how well organized way that your website code is written.

Example if you need on only title id,image, and description form a table more than field than you have get the things that you only need them and use criteria it like select id, title from tablenam where condtion.

Use yiilite in your entry script
disable debug and trace mode

use sql queries instead of active record which will greatly improve your website performance.

make a habit of making defining relations in models and access data with the relations if exist.

at at last then move to apc as you can see how yiiframework.com is working so fast as its huge site as hundreds of new post every day but we can find any slowish problem even.
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