Memoize contents in pipeline plugin