<div dir="ltr"><div>Dear Spyridon,</div><div>Thank you so much for your answer and help. It is a good trick to not reply Interest with the cached data. However, as I understand data will not be deleted from the cache so </div><div>in the case that I need to consider limited cache size, I may face a problem in evaluating the method. I prefer this data will be deleted from the cache so there will enough space for another data. If it does not mind, may I know your another solution as well.</div><div>Thank you so much for time and help</div><div>Best regards</div><div>Zeinab</div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Tue, Feb 11, 2020 at 11:54 PM Spyridon Mastorakis <<a href="mailto:smastorakis@unomaha.edu">smastorakis@unomaha.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">



<div style="word-wrap:break-word">
One thing you can do without actually dropping any cached packets (and it is a straightforward “hack”) is to set the freshness period of data packets to 0 (or something very close to that) and set the MustBeFresh flag of Interests to true (so that you simply
 ignore stale cached data packets):
<div><br>
</div>
<div><a href="https://named-data.net/wp-content/uploads/2018/08/hoticn18realtime-retrieval.pdf" target="_blank">https://named-data.net/wp-content/uploads/2018/08/hoticn18realtime-retrieval.pdf</a></div>
<div>
<div><br>
</div>
<div>If you really need to drop the packets, then I can give you another solution.</div>
<div><br>
</div>
<div>
<div>
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;white-space:normal;word-wrap:break-word" dir="auto">
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;white-space:normal;word-wrap:break-word" dir="auto">
<div style="color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;white-space:normal;word-wrap:break-word" dir="auto">
<div>Spyridon (Spyros) Mastorakis<br>
Assistant Professor<br>
Computer Science Department<br>
University of Nebraska, Omaha<br>
Peter Kiewit Institute Room 175A<br>
<a href="https://sites.google.com/site/spyridonmastorakis" target="_blank">https://sites.google.com/site/spyridonmastorakis</a><br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div>On Feb 11, 2020, at 1:49 AM, Zeinab Rezaiefar via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:</div>
<br>
<div>
<div dir="ltr">
<div>Hello there,</div>
<div>In continue of my previous email regarding dropping cached data, I have noticed that I need to erase data (using before evict signal)from cache and also clean up the index from policy. Since I want to command the cache to erase data from the forward.cpp
 file, I would like to know I can use Cs:: erase function to erase data from cache ? </div>
<div>May I know that I need still to cleanup index from policy as well.</div>
<div>I will be grateful to know our suggestions and guidance</div>
<div>Thanks</div>
<div>Best regards</div>
<div>Zeinab</div>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>

</blockquote></div>