Revert "Revert "Replaced content purge with content rebuild""

This reverts commit 0eebbd049212e3035f67402f7b71a942f2cb9116.