Laravel elixer versioning (cache buster) multiple servers Laravel elixer versioning (cache buster) multiple servers laravel laravel

Laravel elixer versioning (cache buster) multiple servers


I think that the only solution for this problem is to commit compiled assets files.

I found this solution strange at first, because we don't version vendor folder for example.

But at the end, I found that most of the front-end projects are always comitting a dist folder with compiled files.

So you would need to commit your build folder of your public path every time you make a modification to an asset file.

Of course, don't forget to make a gulp --production before pushing to minimize your files.