only try to get cached template if versioning is enabled