use permanent file for caching metrics