For a browser refresh after a release it would be better to check the file change date of the file "mix-manifest.json" than make md5 of its content. The following code in the "Middleware.json" makes a complete refresh even the content is the same. It solves my caching problems.
if (file_exists($manifest = public_path('mix-manifest.json'))) { return filectime($manifest); }
For a browser refresh after a release it would be better to check the file change date of the file "mix-manifest.json" than make md5 of its content. The following code in the "Middleware.json" makes a complete refresh even the content is the same. It solves my caching problems.
if (file_exists($manifest = public_path('mix-manifest.json'))) { return filectime($manifest); }