Allow worker to specify whether to cache http requests.