Fix ticket 21460, now if you use cache template loader this will return the same template that if you does not use it