Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 10, 2012 08:04 PM by HostingASPNet
Jul 08, 2012 09:16 PM|LINK
So new to .NET programming and made a basic blog site using the MVC pattern and EF code first design and SQL compact. I hosted on somee for free to test out deployment. I've noitced when first loading any page that makes a SQL compact call the site takes
a good 20 seconds or so to load. After that initial call though everything else runs pretty fast. It also seems if you visit the page again pretty soon after leaving it it continues to run fast. Since I'm using free hosting I don't have logs or anything to
help figure out what is wrong. Just hoping people can give any advice to try and solve the issue.
My blog http://thetaraday.somee.com/
Jul 08, 2012 11:38 PM|LINK
There is a warm up time when a dot net site first starts running. As long as the website does not shutdown for lack of use you will not see this startup time delay. There are some free services which will check your website to make sure it is still up.
This might help to keep the site alive.
Jul 09, 2012 01:44 PM|LINK
I don't think it happens because you use SQL server compact version. Your blog is using pretty much large images (Background images etc.) so it will take time to download them in order to display those on the webpage.
After that initial call though everything else runs pretty fast.
That's because your browser cache images after the first load. So it will load faster than the first call.
You can install Yslow plugin and see what are the things causing your site load slow.
Please 'Mark as Answer' if this post helps you.
Jul 09, 2012 02:18 PM|LINK
Your asp.net needs to be streamlined into basic html by the IIS server. This doesn't happen when you deploy, but when you first call the page. Once the page was called once, it should run faster for all users (factor in browser cache and it will become even
faster for those who access your site regularly) as long as the application, application pool on the IIS (or IIS itself) are not restarted.
Jul 09, 2012 02:46 PM|LINK
I don't think it is an image or a cache issue. If I go to the about section right away the page loads fast, if I then click a link to home or any of the others there is a noticable delay the first time it loads up. It seems if I check back within an hour
or so, it still loads fine, but after an hour it goes back to that first load of 20+ seconds.
site up time isn't showing any issues. Will try Yslow later tonight.
Jul 10, 2012 04:18 AM|LINK
Site loading time will always depends on many factors, such as:
1. network speed
2. server specification
3. any underlying issues on the server (such as excessive traffic to and from the server, DDoS attack, etc)
If your site loads slow at the first time (even it is just a simple site), this indicates that there is an issue on the server. The server may be overloaded with traffic, or the server hosts several hundreds of sites. Well, if you are using a shared host, they
will not inform you about the number of sites hosted in a server. What you can do is to try to visit the company (webhost) sites and compare it with yours. If your site is way to slow as compare to the company site, this means that your site is hosted on an
You need to inform your webhost about this issue. If they cannot resolve it, you should consider changing to a host that does not overloaded their servers with tons of sites and junks.
Please mark this response as an "answer" if it helps you. Thanks heaps!
Jul 10, 2012 08:04 PM|LINK
The reason is the application pool timeout. Check your value and increase it if possible. (most of shared or free hosting companies keeps this vaue low by default, so if you have not any active connection to free server resources)