{"id":2253,"date":"2012-06-18T13:25:11","date_gmt":"2012-06-18T20:25:11","guid":{"rendered":"http:\/\/www.sheer.us\/weblogs\/?p=2253"},"modified":"2012-06-18T13:25:11","modified_gmt":"2012-06-18T20:25:11","slug":"tech-post-iis-and-slow-initial-site-performance","status":"publish","type":"post","link":"https:\/\/www.sheer.us\/weblogs\/uncategorized\/tech-post-iis-and-slow-initial-site-performance","title":{"rendered":"tech post: IIS and slow initial site performance"},"content":{"rendered":"<p>While sites are in development, they often only have a few users and can go many, many minutes without being accessed. When being used this way, you will notice that some sites take a inordinately long time to come up when using IIS 7<\/p>\n<p>The reason for this is that the app server for those sites is timing out. Going into advanced settings for the application pool and setting IdleTimeout to 0 will solve this problem nicely.<\/p>\n<p>The downside? You&#8217;re using some RAM to run the app server. My theory is that it&#8217;s actually caching the CLR translated to native bytecode. But for most sites, this is not a meaningful amount of RAM compared to what a modern server has available &#8211; maybe 100 megabytes. And the performance improvement is well worth it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While sites are in development, they often only have a few users and can go many, many minutes without being accessed. When being used this way, you will notice that some sites take a inordinately long time to come up when using IIS 7 The reason for this is that the app server for those [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/posts\/2253"}],"collection":[{"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/comments?post=2253"}],"version-history":[{"count":2,"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/posts\/2253\/revisions"}],"predecessor-version":[{"id":2255,"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/posts\/2253\/revisions\/2255"}],"wp:attachment":[{"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/media?parent=2253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/categories?post=2253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheer.us\/weblogs\/wp-json\/wp\/v2\/tags?post=2253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}