locate: add cache on cmt files