Template render compression