Skip to content

Add reportwidget to clear cache

Nick Khaetsky requested to merge master-3 into master

Created by: ghost

Hello,

This PR add a solution to #1 (closed)

Ultra basic widget that add a button that triggerArtical::call('page-cache:clear);

Can be improved visually, maybe with some stats in a nice radius like Clear File Cache widget

Can also be improved by allowing to clear cache for a specific page, as there is already an existing command for that :

php artisan page-cache:clear {slug}

NB : I added new localization strings, but unable to translate in russian (so it's the same strings than english actually, feel free to translate)

Merge request reports