Cache API url instead of getting it every request