Welcome Guest Search | Active Topics | Sign In | Register

How to Optimize the scripts load of "eo_web.ashx" Options
xtremexploit
Posted: Tuesday, June 10, 2008 9:15:52 AM
Rank: Member
Groups: Member

Joined: 2/24/2008
Posts: 27
Hi,

I need to cache all those eo scripts files "eo_web.ashx" because every time I enter to my page eo is loading the scripts (ashx)

I need to put those all files to be static... I mean..by example... "/js/eo_web.js"

I need to optimize my site to set javascript file to be cached...

Any ideas ?
eo_support
Posted: Tuesday, June 10, 2008 9:33:12 AM
Rank: Administration
Groups: Administration

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

The JavaScript files are automatically cached even if they are rendered with eo_web.ashx. So if you do not see them cached, then the problem might be somewhere else.

As for changing eo_web.ashx to .js file, you can find more details at here:

http://www.essentialobjects.com/ViewDoc.aspx?t=InstallationAndDeployment%2fdeploy.html

Thanks
xtremexploit
Posted: Monday, June 16, 2008 1:51:52 PM
Rank: Member
Groups: Member

Joined: 2/24/2008
Posts: 27
hi..

I need to cache the generated eo files.. this is not working because eo is loading the scripts.. I need to set the cache control to public.. how can i do that ?
eo_support
Posted: Monday, June 16, 2008 2:13:26 PM
Rank: Administration
Groups: Administration

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

Once you follow the steps outlined in our previous rely, you will see a list of .js files get generated. Once you have those .js files, it no longer has anything to do with our DLL or even ASP.NET. You will need to configure IIS to set cache policy on those 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.