Issue #2822470 by Kazanir, Yogesh Pawar, markcarver, joelpittet, dawehner, xjm, larowlan: Unified cache key & template class handling for Twig templates