2016-12-15 50 views
0

我的問題是,我使用laravel.blade.php,每次我對它進行更改和刷新瀏覽器,代碼不會更新,因此不會顯示我所做的更改,緩存在apache中被禁用,而我已刪除laravel緩存文件,但仍未在瀏覽器上進行更改。laravel和xampp緩存

任何人都可以幫助我嗎?

+0

嘗試運行命令 - 'PHP工匠配置:clear' –

+0

那樣的解決了問題,因爲我也有單獨的HTML文件注入到一個頁面,這些似乎已經更新,但不是我的blade.php –

+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

希望這有助於!