assets class added ability to cache urls and files