Cache template inline for now