Hapi plugin to a bust the cache of browser assets.
npm install hapi-cache-busterHapi Cache Buster
=================
A Hapi cache buster for assets (css, javascript, images, etc) in your view templates.
version.cache. You can place it where you are needing to update cache.Lets say your package.json is version 0.0.1, it will print out ?v=001. To bust the cache you just update your package.json version to a new number.
Handlebars:
Jade:link(rel='stylesheet', href='css/styles.css#{version.cache}')
```
{
register: require('hapi-cache-buster'),
options: {
version: 55
}
}
. This is useful if your current process working directory process.cwd()` is different from the actual application.