Welcome Guest Search | Active Topics | Sign In | Register

Optimizing the eo_web.ashx requests Options
samir
Posted: Tuesday, March 15, 2011 6:03:35 AM
Rank: Member
Groups: Member

Joined: 9/17/2008
Posts: 12
Hi,

We are using the EO Web version 7.0.53.2. Below are a couple of queries from our side

1. General observation is that the menu control does not get loaded on page load, it needs to be refreshed

2. While performing the concurrent user load test the "eo_web.ashx" request are having major failures. These failures are not consistent. Any optimizing techniques for the .ashx call will be a great help

Please let us know if above issues are reported and you have a fix or work around for these
eo_support
Posted: Tuesday, March 15, 2011 9:28:29 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You can try to switch to physical JavaScript files and see if it helps:

http://doc.essentialobjects.com/library/1/installationanddeployment/deploy.aspx

Thanks
samir
Posted: Monday, April 11, 2011 7:59:28 AM
Rank: Member
Groups: Member

Joined: 9/17/2008
Posts: 12
Hi,

We have gone through the suggestions which you have mentioned on the Reply post.

we have done the following changes in the web.config file:

1. Added the following tag in <appsettings> tag in web.config file.

<add key="eo_HandlerLocation" value="~/EOWEB"/>
<add key="eo_ScriptLocation" value="~/EOWEB/eo_script"></add>

2. Added the follwoing tag in <httpModules> tag in web.config file
<add name="EOWebRuntime" type="EO.Web.Runtime,EO.Web"/>

Note: The eo_web.ashx file is placed in the EOWEB folder.

Now when the page is loaded, the javascript files are created for first time at the above specified location, and gets called each time whenever any EO-WEB control is getting loaded. but this has some concerns i.e whenever the page is refreshed each and every Eo-Web control calls the JS files, and while doing the LOAD TESTING, for every page there are multiple calls to the same JS file again and again, i.e the request for the JS files are increasing in tremendous fashion.

So is there any other work around to avoid such continuous request
eo_support
Posted: Monday, April 11, 2011 9:32:37 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You might have some issues with your cache configuration. A refresh is by design to re-request those files again. This includes everything such as JavaScript or images. But a regular load should automatically get the file from cache without needing to hit the server again.

Note we will not troubleshoot a cache issue for you. Once you start to use physical JavaScript files, how the file is requested and served will no longer has anything to do with us (so once you have set eo_ScriptLocation, eo_HandlerLocation and EO module in your web.config does not matter when it comes to script files).

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.