added Base64 urls and smarter cache paths