Site loading very slow

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
6/22/2012 9:47:45 AM
Gravatar
Total Posts 37

Site loading very slow

Hello,

Ok, so we implemented a MojoPortal site at my workplace that we host locally on our own server and it runs great, very fast.  I like MojoPortal so much I decided to start my own site at home, so I created a prototype for a bid that I was working on and was able to get Mojo up and running.  I set Mojo up on a mid-grade Godaddy Windows hosting account using MSSQL as the database.  However, when I access the site it tends to be really slow.  Once you get the pages to load, they will re-load quickly, but if you dump the browser history and try to hit back on the pages some of them load slow again.  It also seems random because sometimes it takes forever for the homepage to load, and sometimes it loads right up.  I set the following in my .config file:

<add key="UseAppKeepAlive" value="true" />
<add key="AppKeepAliveUrl" value="http://development-domain.com" />

but it doesn't seem to help any.  I'm wondering if theres any help you can give on getting this site running quickly.  I know Godaddy gives people some issues, but I've had many sites hosted with them and they all seem to function pretty quick, so I'm wondering if there's just some settings or tricks to get Mojo running faster.  The prototype site I built is at: www.development-domain.com so that you can see the loading speed for yourself. 

I appreciate any help!

Thanks,
             Tyler

6/22/2012 1:47:41 PM
Gravatar
Total Posts 18439

Re: Site loading very slow

Hi Tyler,

If you are using the official release packages I have no additional suggestions except you could remove some of the .resx files for languages you are not using from App_Data and remove extra skins you are not using form both /Data/skins and /Data/Sites/[SiteID]/skins.

If you are deploying your own builds that you've made from source code, make sure you are doing a rebuild of the solution in Release mode and not deploying a debug build and make sure <compilation debug="false" in Web.config.

Good hosting makes all the difference. If you are in a low memory environment what happens is when it reaches the memory limit set on the app pool it forces the app to recycle and that kills performance. If you see lots of frequent application start and end events being logged that is a sign of low memory, only better hosting with more available memory will solve it.

The AppKeepAlive is a hacky solution at best, it would be better to use an external service to make periodic requests to some pages in your site as mentioned at the bottom of the AppKeepAlive article.

Hope that helps,

Joe

6/28/2012 12:45:26 PM
Gravatar
Total Posts 37

Re: Site loading very slow

Hi Joe,

Thanks for the reply!  I'm sorry it took me a while to reply back.  I am using the official release packages, and I tried deleting out the un-needed skins and languages.  It didn't seem to do much for the site speed.  I'm going to assume that the issue lies with the hosting.  I think I'll try to host with a different company and see what happens.  I've had issues with Godaddy before, and they've already advised me that they can't help with this issue, so it wouldn't surprise me if their hosting is the culprit.  I've also removed the AppKeepAlive from the .config file and will look into an external service for that if needed.  

Thanks again, and I'll post back if I see different results.

Tyler

6/28/2012 1:27:02 PM
Gravatar
Total Posts 2254

Re: Site loading very slow

Hi,

If you're in the market for hosting, please give i7MEDIA a look. We'll migrate your site for free!

Thanks,
Joe Davis

You must sign in to post in the forums. This thread is closed to new posts.