Header: improve performance on buffers cache

Signed-off-by: Eduardo Silva <eduardo@monkey.io>