add ability to get a cached resource by url