UNPKG

cachebust

Version:

Append a query string to your assets to bust that cache!

51 lines (39 loc) 2.27 kB
# cachebust > Append a query string to your assets to bust that cache! ## Getting Started ```sh npm install -g cachebust cachebust --version ``` ## Contributing [![Build Status][travis-image]][travis-url] [![devDependency Status][dev-dependency-image]][dev-dependency-url] [![Stories in Ready][waffle-image]][waffle-url] To contribute either check the [Waffle board](https://waffle.io/furzeface/cachebust) or [GitHub issues](https://github.com/furzeface/cachebust/issues) then work away: 1. [Fork it](https://github.com/furzeface/cachebust/fork)! 2. Create your feature branch: `git checkout -b feature/awesome-feature` 3. Run: `npm install` for dependencies and `npm link` for local development 4. Run: `grunt develop` to build and watch for changes 5. Commit your changes: `git commit -m 'feat(Project): Adds awesome feature'` 6. Push to the branch: `git push origin feature/awesome-feature` 7. Submit a [pull request](https://github.com/furzeface/cachebust/pulls) :+1: Tips: * In lieu of a formal styleguide, take care to maintain the existing coding style. * Add unit tests for any new or changed functionality. * Test your code using [Grunt](http://gruntjs.com): `grunt test` * Install [editorconfig-sublime](https://github.com/sindresorhus/editorconfig-sublime) for Sublime Text to help with consistent code formatting. * Commit messages loosely adhere to [these guidelines](https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit). * Versioning adheres to [Semver](http://semver.org). ## Release History - 2014-11-09 v1.0.0 - Initial release. ## License Copyright (c) 2014 Daniel Furze. Licensed under the MIT license: [http://danielfurze.mit-license.org](http://danielfurze.mit-license.org) [npm-url]: http://badge.fury.io/js/cachebust [npm-image]: https://badge.fury.io/js/cachebust.svg [travis-url]: http://travis-ci.org/furzeface/cachebust [travis-image]: https://secure.travis-ci.org/furzeface/cachebust.svg?branch=master [waffle-url]: https://waffle.io/furzeface/cachebust [waffle-image]: https://badge.waffle.io/furzeface/cachebust.svg?label=ready&title=Ready [dev-dependency-url]: https://david-dm.org/furzeface/cachebust#info=devDependencies [dev-dependency-image]: https://david-dm.org/furzeface/cachebust/dev-status.svg