0

Has anyone tested UsePhysicalViewsIfNewer on a big system with lots of Views (thousands)?

If it has to check the disk each time doesn't make this slower? Does switching it off have any appreciable impact?

4

1 回答 1

1

它被设计为开发时功能(特别是如果您使用的是RazorGenerator.MsBuild)。它旨在阻止您每次更改视图时都必须重新构建应用程序。我没有尝试在实际应用程序中使用它,但在生产应用程序中关闭它应该是正确的做法。

于 2015-09-18T13:03:52.170 回答