Feature #1996
closed
LocalControlHeader: caching
Added by Junxiao Shi about 10 years ago.
Updated about 10 years ago.
Description
In LocalControlHeader, add a Caching feature.
Application MAY attach a Caching field on a Data packet to NFD, to give ContentStore an instruction about whether/how to cache the Data packet.
Initially, we only define one possible instruction:
- NoCache: ContentStore SHOULD NOT cache the Data packet.
Caching field MUST NOT be attached to a packet from NFD to application, or to a non-Data packet.
The necessity of this feature is suggested by InMemoryStorage:
Since an application has already kept a copy of data packet, it should be able to inform the local daemon not to keep a copy in the content store.
Jiewen Tan, who's working on in-memory storage, has confirmed that the idea in Task Description satisfies the need from in-memory storage:
I just want to say I think the idea you provide is a good idea.
- Status changed from New to In Progress
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
20141024 conference call approves this protocol design.
Before this can be implemented, we'll need fine-grained privilege control in NFD Management, because:
- Usage of CachingPolicy needs
faces/enable-local-control
command.
- Most applications should be allowed to use CachingPolicy.
- Only few applications should be allowed to use other local control features.
Also available in: Atom
PDF