如何在Laravel中清除缓存? [重复]

This question already has an answer here:

I have added css file in master-blade.php like this

   <link href="{{ url(mix('css/app.css')) }}" rel="stylesheet">

In view the path of css file looks like this.

    <link href="******/css/app.css?id=43965480df345823e8e0" rel="stylesheet">

Now i am changing the css in app.css file but it does not reflect on web page.The problem is due to the id in path of css file. How can i do the changes in css file.

</div>

You need to run npm run dev on your development server and npm run prod on your production server, to generate/update the JS and CSS.

If you want clear all cache, stored in /storage/cache:

php artisan cache:clear

And to clear route cache:

php artisan route:clear

To clear view cache:

php artisan view:clear

try artisan command-

php artisan cache:clear
php artisan view:clear

If you want to clear view cache, do this:

php artisan view:clear

You also can clear all Laravel cache.