add the cache option for #47