M
M
Mikhail Bazhenov2013-12-01 17:30:04
Yii
Mikhail Bazhenov, 2013-12-01 17:30:04

How to share cache between two Yii applications?

Hey!
There is a site with such architecture admin.site.ru, site.ru. These are two different applications.
I use file cache and memcache.
How to make admin.site.ru and site.ru have a common cache?
That is, when you call
Yii::app()->cache->flush();
, the cache of both applications would be cleared?
Version 1.1.14

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2013-12-01
@benign

Make the same id for applications in the config.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question