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 10 years ago by Wade Shuler Wade Shuler, updated 10 years ago by samdark 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: 131 127 times
Version: 2.0
Category: How-tos

AssetManager: clearing browser's cache on site update

Created 13 years ago by dhampik dhampik, updated 13 years ago by dhampik 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: 62 872 times
Version: 1.1
Category: How-tos

Caching the config main.php

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

The config first required In CApplication constructor

4 1
14 followers
Viewed: 24 750 times
Version: 1.1
Category: Tutorials

Using cache in CActiveDataProvider

Created 14 years ago by Stamm Stamm, updated 14 years ago by Stamm 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: 29 401 times
Version: 1.1
Category: Tips

caching controllers with filters()

Created 14 years ago by RusAlex RusAlex, updated 14 years ago by Maurizio Domba Cerin 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: 19 297 times
Version: 1.1
Category: How-tos

How to make use of a fragment cache

Created 16 years ago by dalip dalip, updated 15 years ago by wei wei.
1 0
2 followers
Viewed: 19 976 times
Version: 1.1
Category: Tutorials