<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi!</div><div><br></div><div>I would say that it can be done in either place, depending on what is base for the decision.</div><div><br></div><div>If you can base decision whether to cache or not just base on information available in the forwarding strategy, then you can do it there.  At the same time, in the policy (e.g., at the point of insert() method call), you may have more information about the cache content: how many entries, which entries are old and should be evicted to make place for the new item, or whether the new item should not be cached for some reason).</div><div><br></div><div>--</div><div>Alex</div><br><div><div>On Jun 25, 2013, at 6:28 PM, 陈胜蓝 <<a href="mailto:blindeafer@163.com">blindeafer@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial; ">Hi All,<div>I have a question that troubles me, I wonder if a node decide whether to cache a content object according to some functions of forwarding strategy,just like OnData().And whether the Insert() method in replacement policy is done after a node decide to cache an object,replacement policy is nothing to decide what to cache?</div><div><br></div><div>Than you! </div></div></blockquote></div></body></html>