Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在热缓存中运行程序是什么意思?
谁能好心解释一下。
暖缓存是否意味着..查询时缓存命中的缓存?
缓存通过先前加载并记住所请求的数据来工作。
初始化缓存时,它是空的。因此,对任何给定数据的第一次访问将导致缓存未命中,并且花费的时间比人们希望的要多。
预热缓存意味着在启动后立即执行代码,在程序“真正”需要之前将内容加载到缓存中(因此当最终用户使用应用程序时已经存在)。
这类似于运动员在需要肌肉参加比赛之前进行伸展运动以热身。