perf: cache jinja objects

6 jobs for !6863 with perf_alarm_template in 26 minutes and 11 seconds (queued for 2 seconds)
latest merge request