B
B
Bombadile2016-08-11 20:00:55
Yii
Bombadile, 2016-08-11 20:00:55

How to clear the cache without touching the database schema cache?

Yii::$app->cache->flush() - Flush all caches.
Console command like yii cache/flush cache doesn't find anything.
How to clear the cache without touching the database schema cache?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Bombadile, 2016-08-16
@Bombadile

A separate cache component is started and its ID is specified in the connection.
'schemaCache' => 'cache2',

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question