I\'m using EF 4 on my web site and have found a very disturbing problem - the first run load time is extremely slow. (about 20-30 seconds). After the first run - it will work re
I would do a little more research to identify that it is a EF, DB or IIS. I think IIS looks to be the likely culprit, as @E.J. Brennan stated.
In IIS I would ensure the IIS application pool has not recycled, while it is normal the frequency can be managed to make it less of an impact on end users. EF is probably not the problem, but the caching in the app or DB could hide an underlying SQL issue. Capture the query and analyze the execution plan to ensure it is optimal.
Hope this help pinpoint the issue.