Wiki

Articles tagged with "cache", sorted by viewsX
Displaying 1-5 of 5 result(s).

AssetManager: clearing browser's cache on site update

Created 2 years ago by dhampikHow-tos4 comments – viewed 21,085 times – ( +17 ) – version 1.1
If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.

Using cache in CActiveDataProvider

Created 2 years ago by StammTips7 comments – viewed 14,006 times – ( +19 ) – version 1.1
First param in CActiveDataProvider could be a string with model name or instance of class. So, you may use CActiveRecord::cache() for cache, but you need set third param to 2, because you should cache 2 queries: counting and get data.

Caching the config main.php

Created 2 years ago by dckurushinTutorials11 comments – viewed 11,227 times – ( +4 / -2 ) – version 1.1
The config long array included every time, and it's not cached at all!

caching controllers with filters()

Created 3 years ago by RusAlexHow-tos1 comment – viewed 9,432 times – ( +2 ) – version 1.1
Hello, this article will describe some aspects about caching controllers with filters() method in your controller. And I will describe some problems I meet when using this approach for caching, the main problem was

How to make use of a fragment cache

Created 5 years ago by dalipTutorials0 comments – viewed 7,382 times – ( +1 ) – version 1.1
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
tags: cache, memcache