How to clear template cache?

后端 未结 9 1398
無奈伤痛
無奈伤痛 2020-11-27 18:04

In Angular 2, how do you clear the template cache? There are tons of answers for Angular 1, but none for 2.

The issue I am having is that when I change the contents

9条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-27 18:26

    I think the easiest thing to do is open a new session using incognito mode because nothing gets cached so it will always force a reload.

提交回复
热议问题