Add bundle cache script & configuration

Script from [ArturT](https://gist.github.com/ArturT/5792488).