Permit to use a different directory for cache file

While trying to run a nodejs software using browserify 1.X on Openshift, I found out that ~ is not writeable for security reason. So in order to put the cache somewhere else, I have added another environment variable so I can choose where to put the cache file.