Have you tried restarting nginx?
May 19, 2017
3
Level 3
Laravel view cache not clear until server is restarted
I am using digital ocean to host my laravel application:
- Laravel 5.4
- PHP 7
- Nginx (no cache)
- Digital Ocean Ubuntu 16
- Laravel-boilerplate
When I do some update in a view (blade) in my local environment and then I deployed it to production the new changes are never shown. So far I've tried:
php artisan cache:clear
php artisan config:cache
php artisan view:clear
composer dump-autoload
The above php artisan commands are not clearing the cache. The only way I can clear the cache is by restarting the Digital Ocean VM.
But it is very annoying to restart the server every single time I update something.
Any help will be really appreciated.
Thanks
Please or to participate in this conversation.