+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / MVC: Slow performance with Partials

MVC: Slow performance with Partials

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