We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

ScriptResource.axd and combined JS

Hi,

we're using combined JS from your csg.syncfusion.com (see attached pic)

There seems to be many generated ScriptResource.axd on a page that is not even using all of the controls that are in the combined ej.webform.min.js

Is there a way to combine those ScriptResource.axd files to reduce http requests?


Attachment: JS_af94fd32.7z

1 Reply

PO Prince Oliver Syncfusion Team November 10, 2016 11:41 AM UTC

Hi Semper,   
  
Thanks for contacting Syncfusion Support.   
  
If you are using combined script generated from csg.syncfusion.com, you need to disable the embedded resources from assembly and refer the scripts manually. To disable embedded resource, please set value to ‘false’ for ‘LoadEJResourcesFromAssembly’ in the web.config file.   
  
<appSettings>   
<add key="LoadEJResourcesFromAssembly" value="false" />    
</appSettings>   
  
   
  
Refer to the following link for more details about embedded resource:   
  
Once embedded resource is disabled, the themes and script will not be referred from the assembly. So you need to add the dependencies and  script files manually in your page.   
  
Regards,   
Prince   


Loader.
Up arrow icon