add lru-cache and streamsink
remove streamsink
test use of lru-cache
remove from cache when deleting a resource