EZP-21390 : implements multiple methods to create cache content subtree

This PR is meant to improve cache content subtree creation.