Skip to content
February 17, 2012 / kiranpatils

Is your page loading slowly in preview mode?

Yes, I’m writing after so long time. Sorry for not sharing anything with you since so long time. But got busy with so many bits. But it’s good the more you be busy the more you have to share! 🙂

Challenge:

We were facing one issue in which one of our page was taking  > 2.5  minutes to load in preview mode and surprisingly it was working fine in Page Editor Mode.

After analyzing a lot we found that, one of the control was fetching sub items of current page/item and all the sub items were having – “Subitems Sorting” field in Appearance section’s value as “Created”. [Just a note : all items are in one language and having one version only!]

What you are also facing the same issue? and you also have same behavior? Eager to know the solution? please go to next section..

Solution:

When we set it to blank instead of “Created”  it resolved the issue and now page gets loaded in 2 seconds!

We got this hint from this blog, must read! : http://blog.wojciech.org/?p=88 [Really helpful, thanks a lot]

Good to read on Sorting:

http://sitecore.alexiasoft.nl/2009/08/04/sorting-sitecore-items/
http://sitecoreblog.blogspot.in/2010/11/change-default-subitems-sort-order.html
http://learnsitecore.cmsuniverse.net/en/Editors/Articles/2009/11/SortingItems.aspx
http://firebreaksice.com/how-to-sort-sitecore-items-in-the-content-editor/

Happy Sitecoring! 🙂

PS : Special thanks to Siddhi who lead us towards this solution!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: