(25)Use the startMode attribute to reduce the load time for your ASP.NET site

招数25:

使用startMode属性来减少ASP.NET站点加载时间

Every time you update your site, IIS must recompile it during the first request, so the initial request takes significantly longer than subsequent ones. An easy solution is to tell IIS to automatically recompile your site as part of the update process. This can be done using the startMode attribute in the ApplicationHost.config file. You can even specify a custom action to run on start-up, such as pre-populating a data cache.
每次更新你的站点,IIS必须在第一次请求重新编译,所以初始请求的时间大大超过后续请求的时间。一个简单的解决方案是在更新的过程中告诉IIS自动重新编译你的站点。这可以通过在ApplicationHost.config文件中使用startMode属性实现。你甚至可以指定一个自定义动作在启动时运行,例如预填充一个数据缓存。

最新文章

  1. tkinter事件机制
  2. python note
  3. 高性能的JavaScript--数据访问(2)
  4. h5 range应用 透明度+RGB
  5. MD5的使用
  6. 安装及破解IntelliJ IDEA15
  7. [bug]使用SharpZipLib遇到中文名称乱码问题
  8. 【SpringMVC】SpringMVC系列1之HelloWorld
  9. HDU 5742 It's All In The Mind (贪心) 2016杭电多校联合第二场
  10. Transform-style和Perspective属性
  11. iOS学习之UITableView编辑
  12. Oracle 相关概念详解
  13. JOIN 相关内容
  14. 第四篇、CocoaPods 镜像的更新 原来的淘宝镜像已经不再更新
  15. C# 中的关键字之:base、this 【转】
  16. jvm实战-基本类型占多少内存
  17. javascript01
  18. Elasticsearch基础教程分享
  19. php项目核心业务(增、删、改、查)(第三篇)
  20. 2nd week

热门文章

  1. C# 如何以参数的形式调用.exe程序
  2. SQL Server优化50法(转)
  3. HDU 5750 Dertouzos 简单数学
  4. <译>Selenium Python Bindings 1 - Installation
  5. SQL 的一些概念问答
  6. wuzhicms 后台登录存留时间实现方式
  7. 【暑假】[基本数据结构]根据in_order与post_order构树
  8. 判断相同区间(lazy) 多校8 HDU 5828 Rikka with Sequence
  9. MFC记住上次路径---遇到的一些问题
  10. document.write("\x3c\x54")?是加密了吗?