More in this section
Forums / Developing with Sitefinity / Removing resources from WebResource.axd payload

Removing resources from WebResource.axd payload

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Michael
    Michael avatar
    8 posts
    Registered:
    11 Jan 2011
    12 Sep 2016
    Link to this post

    Hi there.

     

    I have a Sitefinity 8 project which has been suffering from some pretty slow load times, and I'm finding that in almost every case, the bulk of the time is spent on a call out to WebResource.axd (between 4 and 6 seconds to load this file.)  My understanding is that Sitefinity grabs all of the referenced js files, and combines them into a single download which is served through this WebResource.axd handler.  In examining the response from the server on this call, I see jQuery, jQuery migrate, kendo ui, and other js libraries being included.

     

    My question is, how can I remove some of these libraries from being included/handled by this WebResource.axd handler, so that I can reference them independently from a CDN, or reference a specific customized (paired down) version of them?  I found a falafel blog post about how to remove these calls entirely, and that kind of worked, but it seems like a hack to me, because It feels dangerous to just remove all references to it entirely.  Plus the code as written also removed all inline js (any script tag without a src attribute) in addition to calls to WebResource.axd, which was not the desired behavior.

     

    I appreciate any input from the community on this one.  Has anybody else experienced slowness issues with this handler?

     

    Thanks,

     

    -Mike

1 posts, 0 answered