Wiki

Articles tagged with "cache"X
Displaying 1-6 of 6 result(s).

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

Created 2 months ago by Wade ShulerHow-tos1 comment – viewed 8,246 times – ( +5 / -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

Created 3 years ago by dhampikHow-tos4 comments – viewed 27,936 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

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

Using cache in CActiveDataProvider

Created 3 years ago by StammTips7 comments – viewed 17,301 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()

Created 4 years ago by RusAlexHow-tos1 comment – viewed 11,036 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 6 years ago by dalipTutorials0 comments – viewed 8,745 times – ( +1 ) – version 1.1
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
tags: cache, memcache