[DF-2752] add cache logic for update gl matrix