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" <mphil...@gmail.com> 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 angular+u...@googlegroups.com.
> To post to this group, send email to ang...@googlegroups.com.
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
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.
--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/zjyXjjk_Fq8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
--
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 angular+u...@googlegroups.com.