Wiki

Articles tagged with "cache", sorted by date (updated)X
Displaying 1-6 of 6 result(s).

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

Updated 3 months ago by samdarkHow-tos1 comment – viewed 11,005 times – ( +8 / -1 ) – version 2.0
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 different sessions for backend and frontend in yii advanced application template, there are still steps missing. It is funny how the 2nd one says it is an extension of the first one's article. So I guess, my wiki guide here is yet a 3rd and more complete extension of both of them. I also found a few StackOverflow questions and blog posts regarding this topic. None of them fully worked, and must be missing some magic sauce!

AssetManager: clearing browser's cache on site update

Updated 2 years ago by dhampikHow-tos4 comments – viewed 28,400 times – ( +19 ) – 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.

Caching the config main.php

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

Using cache in CActiveDataProvider

Updated 3 years ago by StammTips7 comments – viewed 17,489 times – ( +21 ) – 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 controllers with filters()

Updated 4 years ago by Maurizio Domba CerinHow-tos1 comment – viewed 11,149 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

Updated 4 years ago by weiTutorials0 comments – viewed 8,862 times – ( +1 ) – version 1.1
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
tags: cache, memcache