hello everybody
I need to use pages caching, but I don't know how to begin... As I understand, I must customize the config file and add method "filters" to the controller...
Am I right?
If to say shortly, I need to save the whole page in a certain directory.
help me please: what code should I write in the config file and in the controller?
Page 1 of 1
Page Caching how to ?
#2
Posted 21 January 2013 - 06:34 AM
Hi my friend
There are data, fragment and page caching
http://www.yiiframew...en/caching.data
http://www.yiiframew...aching.fragment
http://www.yiiframew...en/caching.page
for configuration see
http://www.yiiframew...aching.overview
Best regards
There are data, fragment and page caching
http://www.yiiframew...en/caching.data
http://www.yiiframew...aching.fragment
http://www.yiiframew...en/caching.page
for configuration see
http://www.yiiframew...aching.overview
Best regards
#3
Posted 21 January 2013 - 07:41 AM
KonApaz, on 21 January 2013 - 06:34 AM, said:
There are data, fragment and page caching
where I need to specify the cache directory: config file or controller filters method?
ie = where I need to write 'cachePath'=>'/cache/' ?
I'm sorry for my English...
#4
Posted 21 January 2013 - 08:06 AM
You normally don't.
Read the docs, please.
Read the docs, please.
"Less noise - more signal"
Share this topic:
Page 1 of 1

Help













