M
M
Maxim2018-10-03 00:37:51
Yii
Maxim, 2018-10-03 00:37:51

How to cache Rbac requests in yii2 without ApcChache?

Hello! I always used caching of Rbac module data with the following class. yii\caching\ApcCache
But with the transition to php 7.2 version, this cache is not available and OpChahe is offered as an alternative. As far as I know, such caching is not used in yii2.
Tell me, how else can I cache rbac requests, well, or not only rbac? Perhaps it makes sense to use the extension, but I understand that it does not cache requests https://www.yiiframework.com/extension/insolita/yi... Or useyii\caching\FileCache

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2018-10-03
@myks92

install apcu

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question