Support the ongoing development of Laravel.io →
Cache Blade
Last updated 1 year ago.
0

Am having the same problem. No matter how much i edit my views they just will not change. Even when I delete all the code, it keeps displaying the previous coding.

Am trying to make a La-ravel and J Query mobile app

Please help

0

i have the same, i "solved" deleting the app/storage/views but i dont know if is a good solution, so let me know if you solve it form another way please. Thanks

0

jlcanizales said:

i have the same, i "solved" deleting the app/storage/views but i dont know if is a good solution, so let me know if you solve it form another way please. Thanks

This is a Laravel caching directory. Delete the contents and you should see the changes.

0

What about:

php artisan cache:clear

?

this works: php artisan view:clear

Last updated 8 years ago.
0

Im having the same problem. Is there a solution?

0

I had this problem during development. My development server was running on a VM and the clock on the VM was off. Setting the clock to the correct time fixed the issue for me.

Last updated 8 years ago.
0

OK I had this problem today and couldnt see the changes to my blade after pushing them to my DO host.

I did the usual artisan commands to clear out the cache and view etc.

I found a link on laradock github about it: https://github.com/laradock/laradock/issues/355

extension=opcache.so
opcache.enable="1"
opcache.memory_consumption="256"
opcache.use_cwd="0"
opcache.fast_shutdown="1"
opcache.max_file_size="0"
opcache.validate_timestamps="1" // Modify 0 to 1
opcache.revalidate_freq="0" // Add this line

these lines were in my php.ini file, not my opcache.ini file as I first presumed.

I am not sure why this is the case, but it may be due to UTC time and cache validation at work. Being GMT +8 I am in the future, not the past according to the time on the host. I am not sure that is a valid argument.

It did solve my problem, but I wouldnt mind knowing more about it.

Last updated 6 years ago.
0

@superwebdeveloper We were running into intermittent issues with newer config (not .env) settings not displaying, methods not being found intermittently, etc. We cleared all of the artisan caches, etc, no use. We had just upgraded to php7, and apparently our opcode cache was bonked. Disabling opcaching fixed an issue we had been fighting with for weeks. Thank you SO much for pointing us in the right direction.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.