static 静态cache 缓存cache通过一种概念出现,cache 通过 static 来实现,但是和 static 又是不同的cache,可以失效,可以重新加载。static 变量没有此特性,如果要在static中实现,最后会和cache一样static 用在工具函数中很好,一但涉及到全局变量的存储,最好还是用cache代替static来实现thread static 变量除外,因为在线程可以被回收