EDOC-1518: add caching in JcrRepository for compileObjectType