Optimization for mojo website

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/24/2010 9:27:06 AM
Gravatar
Total Posts 98

Optimization for mojo website

Hi Joe,

My website is loaded very slowly

I have a lot of js files and css

http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js

ClientScript/oomph/oomph.min.js

http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js

/ClientScript/greybox/gbcombined.js

/ClientScript/mojocombined.js

2 ScriptResource.axd (400 kb both)

http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/ui.all.css

12 css files from ajax.googleapis

cssHandler have 136 Kb

 + my 6 js files and 1 css

 

I can delete from this to faster loading?

Please advice me

Valik

3/24/2010 11:12:51 AM
Gravatar
Total Posts 550

Re: Optimization for mojo website

Hi Valik,

I think deleting script files don't solw your problem. This Thread may be useful for your issue.

Hope Helps.

Asad,
 

3/24/2010 12:29:19 PM
Gravatar
Total Posts 98

Re: Optimization for mojo website

thank you Asad,

 What means this : "Add this to your user.config and then touch Web.config to recycle the app."?

from there thread

Can realy help this setting :<add key="UseAppKeepAlive" value="true" />?

3/24/2010 1:17:56 PM
Gravatar
Total Posts 2239

Re: Optimization for mojo website

Hi Valik,

This page explains the setting. http://www.mojoportal.com/using-the-appkeepalive-task-to-speed-up-a-low-traffic-site.aspx.

"Touching" the web.config is a simple as opening it, adding a blank line to the bottom of it and then saving it.

HTH,
Joe D.

3/26/2010 4:20:38 AM
Gravatar
Total Posts 98

Re: Optimization for mojo website

I will try it . Thanks

another question: if you can help me please?

I need to redirect my website (which is based to folder mapping and have 2 childs one for english interface, other to french interface) to child sites without to load parent site (this loading takes so much and i don't needed it)

I don't know where to do this.

I try to modify global.asax file ; method session_start and put there response.redirect(hostname + "/en") for example but seems that works slowly.

if my user enter in address bar http://hostname i want to go faster on http://hostname/fr (for french par example)

thanks in advance, Valik

3/26/2010 8:11:10 AM
Gravatar
Total Posts 18439

Re: Optimization for mojo website

Hi,

It sounds like you are deploying custom builds you make yourself with Visual Studio. I recommend you do not make any changes in mojoPortal code, if you do that you will not be able to upgrade without losing your changes.

Also in terms of performance, if you make a custom build, make sure you rebuild the solution in Release mode (not debug), and also make sure your production Web.config has <compilation debug="false"

If you deploy a debug build or leave <compilation debug="true" it will run slower because it loads all the debug symbols.

Hope it helps,

Joe

3/29/2010 11:49:23 AM
Gravatar
Total Posts 98

Re: Optimization for mojo website

Thanks you for advice, Valik

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