Page Caching

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?

Hi my friend

There are data, fragment and page caching

for configuration see

Best regards


where I need to specify the cache directory: config file or controller filters method?

ie = where I need to write ‘cachePath’=>’/cache/’ ?

You normally don’t.

Read the docs, please.