add cancel option for loading cache