-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yii::$app->settings->clearCache() does not clear the cache for the front-end when you add a new setting #1
Comments
I think the best way to support this is the configure the front end cache component in the backend app. If you're using file cache your configuration would look something like this: 'components' => [
'frontCache' => [
'class' => 'yii\caching\FileCache',
'cachePath' => '/path/to/frontend/runtime/cache'
],
], Does this satisfy your requirement? |
Yes, thank you very much. |
arisk
pushed a commit
that referenced
this issue
Aug 17, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You clean the cache in actions(update, create, delete) but Yii::$app - is backend application. Need to clear and for front-end
The text was updated successfully, but these errors were encountered: