7. A computer system for facilitating forwarding of packets, the system comprising: a processor; and a storage device storing instructions that when executed by the processor cause the processor to perform a method, the method comprising: storing, in a storage device in a first node, a static dictionary comprising a mapping between a type and length (TL) string and a compressed replacement string; in response to identifying the TL string in a packet, replace the TL string with the compressed replacement string, wherein the packet is a content-centric network (CCN) message, and wherein a name for the CCN message is a hierarchically structured variable length identifier (HSVLI) which comprises contiguous name components ordered from a most general level to a most specific level; replacing a fixed header of the CCN message with a compressed fixed header; and transmitting the CCN message to a second node storing the static dictionary in a local storage device, thereby facilitating compression of a TL string.
7. A computer system for facilitating forwarding of packets, the system comprising: a processor; and a storage device storing instructions that when executed by the processor cause the processor to perform a method, the method comprising: storing, in a storage device in a first node, a static dictionary comprising a mapping between a type and length (TL) string and a compressed replacement string; in response to identifying the TL string in a packet, replace the TL string with the compressed replacement string, wherein the packet is a content-centric network (CCN) message, and wherein a name for the CCN message is a hierarchically structured variable length identifier (HSVLI) which comprises contiguous name components ordered from a most general level to a most specific level; replacing a fixed header of the CCN message with a compressed fixed header; and transmitting the CCN message to a second node storing the static dictionary in a local storage device, thereby facilitating compression of a TL string. 10. The computer system of claim 7 , wherein the TL string includes contiguous TL pairs without an intermediate value.