"depending on the detected browser, the template will then include different templates (which create HTML)"
There's no need to have different templates for different browsers. As seen from the presentation above the HTML is 99% the same for all browsers.
The minor changes in HTML between the outputs can be isolates in some small templates that deal only with formatting. Write once use everywhere, not write multiple times for different outputs.
"disadvantage: the caching might get confused by this (would it?)."
The new cache certainly would get confused because it's caching pages - the final output - per URL. And now you'll have a few different outputs per URL depending on the client browser.
"as you can see on slide show that mobile and desktop versions has no any
differences. Client browser decides which css should be applied but not
template. So template caching will work fine."
Micz, please watch the presentation.
It looks like you're new here. If you want to get involved, click one of these buttons!