Samio
Samio

Reputation: 15

Website first load too slow

My websites (HTML and ASP.NET MVC) are hosted on a IIS 7.5 VPS their first load is always too slow, even requested from localhost, then navigation speed between the web sites pages is good.
please what to do to increase first load speed?

Upvotes: 1

Views: 1653

Answers (3)

rfcdejong
rfcdejong

Reputation: 2320

U can always set the Idle Time-out of the application pool to 0 which is default 20 minutes. It's under advanced settings. That way the first load won't be often.

Upvotes: 1

Peter Kiss
Peter Kiss

Reputation: 9319

A would check the page load with Trace.


Yeah, Keith is right.

Upvotes: 0

Keith Nicholas
Keith Nicholas

Reputation: 44288

First load tends to require a compilation of webpages (aspx or razor). You can precompile these. Also, if you have a database repository, often this gets initialized on first load, and depending on whats been done there, this also can be slow. ( but most often can be optimized )

Upvotes: 0

Related Questions