More in this section
Forums / Developing with Sitefinity / MVC: Slow performance with Partials

MVC: Slow performance with Partials

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.
2 posts, 0 answered
  1. Bo Chulindra
    Bo Chulindra avatar
    35 posts
    Registered:
    17 Dec 2013
    19 Aug 2016
    Link to this post

    I have noticed that using Html.Partial performs slowly in Sitefinity.

    I changed a dynamic icon I use frequently to a partial and use Html.Partial to render it. Doing this drastically slowed down the page's load time on my production server. Every partial rendered took an extra .3s to load. Since I had the icon on the page 42 times, it took about 13s for the page to load.

    The performance is so bad that I have to now think about every partial I use and whether an extra .3s load time is worth 1 use of the partial.

  2. Bo Chulindra
    Bo Chulindra avatar
    35 posts
    Registered:
    17 Dec 2013
    19 Aug 2016
    Link to this post
    Nevermind, it looks like it's the content inside my partial that's causing the slowdown. As soon as I trimmed the content in the partial down to almost nothing, the performance slowdown practically disappeared.
2 posts, 0 answered