我的问题是我正在使用laravel.blade.php并且每次我对它进行更改并刷新浏览器时,代码都不会更新,因此不会显示我所做的更改,在apache中禁用缓存并删除了laravel缓存但是文件仍未在浏览器上进行更改。
任何人都可以帮我这个吗?
答案 0 :(得分:2)
如果laravel中存在缓存问题,您可以使用这些命令来解决缓存问题:
composer dump-autoload <----- this will reload all the autoloaded files again
php artisan config:clear <----- this will clear the config cache
php artisan config:cache <----- this will first clear the cache, and cache it again
希望这有帮助!