Laravel Caching – Not seeing changes in views

We noticed a problem where minor updates to Views in Laravel 5 were not being reflected when refreshing the browser.  The only way to see the changes was to force an error in the Controller and then the View would be refreshed. Not only was this annoying, but if we forgot about this work around then much frustration is encountered.

The solution is to alter the OPCache settings in the PHP.ini:

opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1

Remember to restart PHP FPM.