laravel 和 xampp 缓存
laravel and xampp cache
我的问题是我正在使用 laravel.blade.php 并且每次我对其进行更改并刷新浏览器时,代码不会更新因此不会显示我所做的更改,缓存在 apache 中被禁用并且我已删除laravel 缓存文件,但仍未在浏览器上进行更改。
谁能帮我解决这个问题?
如果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
See more about Config Caching in Laravel
希望对您有所帮助!
我的问题是我正在使用 laravel.blade.php 并且每次我对其进行更改并刷新浏览器时,代码不会更新因此不会显示我所做的更改,缓存在 apache 中被禁用并且我已删除laravel 缓存文件,但仍未在浏览器上进行更改。
谁能帮我解决这个问题?
如果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
See more about Config Caching in Laravel
希望对您有所帮助!