fix issue #7 add some basic caching of external resources, default to 10mn caching