Added ablility to cache external resources