fix for XsltViewBehaviour

changed the caching logic