【发布时间】:2021-05-30 19:55:21
【问题描述】:
@Component({
selector: 'some-component',
templateUrl: `./app/component/stuff/component.html?v=${new Date().getTime()}`,
styleUrls: [`./app/component/stuff/component.css?v=${new Date().getTime()}`]
})
我可以像上面那样在 Angular 7 中使用吗?
我需要清除浏览器缓存。我被推荐this 回答,但这是角度2。
在 IIS 上托管的应用程序
到目前为止,我已经尝试了以下答案,但没有输出。
1)Cache busting after deploying Angular 8 application
【问题讨论】:
标签: angular iis browser-cache