use checkpoint in cache