Reputation: 495
I run these commands:
php artisan view:clear
php artisan route:clear// или (s)
php artisan cache:clear
php artisan config:clear
php artisan config:cache
But the final cache is cleared only after the reboot nginx and php5-fpm
Upvotes: 3
Views: 2227
Reputation: 163968
php artisan config:cache
doesn't clear cache, but creates config cache. If you'll run first 4 commands from your list, all app cache will be cleared.
You may also want to clear cache, created by packages or composer or web server, it depends on what are you trying to achieve.
If you want to clear nginx cache, you can do this by deleting nginx cache directory, for example /var/nginx/cache/
.
Upvotes: 1