When I update a view with different information, it would take almost 5 to 10 minutes before the views information would change. It's like Laravel is caching the view and put a TTL on it.
I know this isn't anything I am doing on my local web server because I have used other frameworks and I have never encountered this issue.
Upon searching the Internet, I can't find a great answer on how to disable this. I want to use Laravel, but find it worthless if it takes a while for my views to update each time I want to make a change. In fact, it sounds counter productive.
Is there any way to disable this? Why are my views taking forever to update right out of the box?
Check that timestamps are being written to the blade files upon saving.
Check that you don't have any opcode caching enabled.
im using php artisan serv
and how can i edit hte OPcode cache when using the php artisan serv :)
found the solution..
i changed
opcache.revalidate_freq=0
opcache.fast_shutdown=0
in /Applications/MAMP/bin/php/php5.5.3/conf/php.ini
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community