Laravel-mix: Option in version() to choose querystring or file name with hash

Created on 4 Oct 2017  路  7Comments  路  Source: JeffreyWay/laravel-mix

Hello,
It would be nice to be able to choose how mix version function handle the cache-busting.
Looks some people prefer querystring, but file names with the hash works very well for me.
What do you think?

Thanks.

Most helpful comment

really hoping this can be done soon.. cache busting has been busting my balls bigtime! even though I use version.. Chrome seems to be so stuborn somehow and I have issues with cache busting nearly every time I deploy new js assets

All 7 comments

I have this planned already.

Thanks Jeffrey.

@ricardogreis FYI - there's been plenty of tickets where this has been discussed - I've been guilty of bringing it up in another ticket before realising it's already been discussed as well. I believe the following ticket is the best place to discuss it: https://github.com/JeffreyWay/laravel-mix/issues/1022

really hoping this can be done soon.. cache busting has been busting my balls bigtime! even though I use version.. Chrome seems to be so stuborn somehow and I have issues with cache busting nearly every time I deploy new js assets

+1

+1 - any ETA on this at all?

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rlewkowicz picture rlewkowicz  路  3Comments

mementoneli picture mementoneli  路  3Comments

RomainGoncalves picture RomainGoncalves  路  3Comments

sdebacker picture sdebacker  路  3Comments

dtheb picture dtheb  路  3Comments