如果您不能及早识别一个工作集,则延迟加载就是填补缓存的下一个最佳选择。
If you cannot identify a working set ahead of time, then a lazy load is the next best option for filling a cache.
您不能将事件附加到元素上,除非该元素已加载 — 但是您如何知道这什么时候发生?
You can't attach an event to an element until the element is loaded—but how do you know when that happens?
应用推荐