|
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 ?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
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.htmlThanks
|
|
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 ?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
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
|
|