fix cache bug, check cache before child renderer