laravel和xampp缓存

时间:2016-12-15 13:52:20

标签: laravel xampp laravel-blade

我的问题是我正在使用laravel.blade.php并且每次我对它进行更改并刷新浏览器时,代码都不会更新,因此不会显示我所做的更改,在apache中禁用缓存并删除了laravel缓存但是文件仍未在浏览器上进行更改。

任何人都可以帮我这个吗?

1 个答案:

答案 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
  

详细了解Config Caching in Laravel

希望这有帮助!