More in this section

Forums / General Discussions / Shrink or Remove ScriptResource.axd

Shrink or Remove ScriptResource.axd

2 posts, 0 answered
  1. Byzza
    Byzza avatar
    89 posts
    09 Jul 2007
    07 Oct 2011
    Link to this post
    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.
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    18 Sep 2017
    11 Oct 2011
    Link to this post
    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.

    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
2 posts, 0 answered