ref #17
this supports asset caching + proper handling of the /env.js file (might have lead to config errors in previous versions)
ref #7