Enable Mix cache tags on all resources so users do not need to clear their browser cache every time we make a resource update
Important:asset() should no longer be used. ALL resources must be loaded via the mix() helper function - do not load them statically or with asset()! Once we switch to Vite, statically loading a resource will cause a build failure.
This PR will:
asset()
should no longer be used. ALL resources must be loaded via themix()
helper function - do not load them statically or withasset()
! Once we switch to Vite, statically loading a resource will cause a build failure.<link rel="stylesheet" href="{{ mix('/css/yourfile.css') }}" />
<script src="{{ mix('/js/yourfile.js') }}" />