Yeah, I do all my cache busting work with gulp, similar to grunt. In production, my main.css and main.js both get a hash string injected into their filename based on their contents, so main-149af3d.css or whatever. I think I use gulp-rev for that. Gulp-inject is configured to modify index.html to reflect the filename changes.
E On Sep 30, 2014 11:17 PM, "Mark Phillips" <[email protected]> wrote: > > I would using grunt which has a few cache busting tasks which you can add to your build process. Search for grunt cache bust on google and a few will come up. If you aren't using grunt i suggest you take a look as there are many tasks available that help builds for javascript apps such as minification etc. > > -- > You received this message because you are subscribed to the Google Groups "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
