Shrink or Remove ScriptResource.axd

Posted by Community Admin on 03-Aug-2018 01:04

Shrink or Remove ScriptResource.axd

All Replies

Posted by Community Admin on 07-Oct-2011 00:00

Hi,
I was just wondering if it was possible to shrink or even remove a couple of the ScriptResource.axd references?
 Currently the scripts loaded by this file is equal to 11% of all traffic to my site and about 50% of the actual
HTML/text being downloaded.

Posted by Community Admin on 11-Oct-2011 00:00

Hi Byzza,

ScriptResource.axd  contain all scripts that are used by the widgets on a page. When the page is requested the scripts are cached and reused from cache when requested(cached in browser and download only one time). Sitefinity uses script combining that wraps all scripts in one big file rather that having to make more server calls for each script. This can be turned off, go to Administration->Settings->Advanced->Pages and set combine scripts to false. however this will make more request to the server.
ScriptResource.axd loads embedded scripts from Sitefinity assemblies and there are lots of scripts loaded. We are aware this makes the page size bigger and we are going to optimize the scripts loaded from ScriptResources.axd so that page size can be reduced.

Alternatively you can try minifying the scripts. Here is a related article for this.

Greetings,
Stanislav Velikov
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed