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.
Laravel provides a unified API for various caching systems. The cache configuration is located at app/config/cache. php . In this file you may specify which cache driver you would like used by default throughout your application.
Your application's cache configuration file is located at config/cache.php . In this file, you may specify which cache driver you would like to be used by default throughout your application. Laravel supports popular caching backends like Memcached, Redis, DynamoDB, and relational databases out of the box.
By default, Laravel is configured to use the file cache driver, which stores the serialized, cached objects in the filesystem. For larger applications, it is recommended that you use an in-memory cache such as Memcached or APC. You may even configure multiple cache configurations for the same driver.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With