Wiki articles tagged with "cache"

Showing 1-6 of 6 items.

[Guide] How to actually separate Frontend (User) and Backend (Admin) on Yii2 Advanced

Created 9 years ago by Wade Shuler, updated 9 years ago by samdark.

I am writing this guide because I struggled to find a resource that included ALL of the necessary steps to completely separate the frontend from the backend. After reading guides like Configuring different sessions for backend and frontend in yii-advanced-app and [yii2 configuring d...

9 1
18 followers
Viewed: 123 996 times
Version: 2.0
Category: How-tos

AssetManager: clearing browser's cache on site update

Created 12 years ago by dhampik, updated 12 years ago by dhampik.

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.

15 0
25 followers
Viewed: 61 176 times
Version: 1.1
Category: How-tos

Caching the config main.php

Created 13 years ago by dckurushin, updated 13 years ago by dckurushin.

The config first required In CApplication constructor

4 1
14 followers
Viewed: 23 565 times
Version: 1.1
Category: Tutorials

Using cache in CActiveDataProvider

Created 13 years ago by Stamm, updated 13 years ago by Stamm.

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.

17 0
11 followers
Viewed: 28 315 times
Version: 1.1
Category: Tips

caching controllers with filters()

Created 13 years ago by RusAlex, updated 13 years ago by Maurizio Domba Cerin.

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

2 0
8 followers
Viewed: 18 158 times
Version: 1.1
Category: How-tos

How to make use of a fragment cache

Created 15 years ago by dalip, updated 14 years ago by wei.
1 0
2 followers
Viewed: 17 981 times
Version: 1.1
Category: Tutorials