added managing of cache stanza