Skip to content

Instantly share code, notes, and snippets.

@brunogarcia
Created October 14, 2015 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunogarcia/88aca2a93303ea177ac3 to your computer and use it in GitHub Desktop.
Save brunogarcia/88aca2a93303ea177ac3 to your computer and use it in GitHub Desktop.
/*
Cache breaker
Simple cache-breaker, appends a timestamp or md5 hash to any urls
https://www.npmjs.com/package/grunt-cache-breaker
*/
'cachebreaker': {
dev: {
options: {
match: ['main.min.js', 'main.css'],
},
files: {
src: ['<%= config.dist %>/index.html']
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment