New CSS only updates when hard-refreshing(ctrl + f5)
I am working on a Laravel website made by other people, and whenever I make a change in CSS, it only shows this when I either hard-refresh, or if I open the website in a incognito window. Does anyone know how to fix this?
Things I have tried:
composer dumpautoload,
php artisan cache:clear,
php artisan route:clear,
php artisan config:clear,
php artisan view:clear,
I have also removed stored cache files by hand, nothing seems to work tho.
Its to do with the browser. I went mad trying to figure out why my css wasnt updating when changed. Turned out Chrome and Safari caches the css and js files. Depending on which you use you can disable it to cache that url.