Any SharePoint 2010 gurus? (Maybe IIS)

Soldato
Joined
28 Sep 2008
Posts
14,207
Location
Britain
I'll bit the bullet with this one and say, there's very little I don't know about SharePoint 2010, but this has me stumped. We have a completely internal site that will never have external access. I've turned on the navigation publishing feature, which, by design, caches the nested pages of sites found from the main page, up to level 4 it seems. The nav is dynamic, so, as sites/pages are created, they are added to the nav automatically.

The nav works fine, but, because of the caching, the first page can take upwards of 30 seconds to load. Turn off this "feature" and the page loads in around 2 seconds.

So, is there away to disable the page loading cache times, or reduce them, or reduce what is cached? I've looked at site object caching, site colleciont caching, web.config (although haven't looked to deep in here), cache profiles, etc, etc, and nothing seems to make a difference.

Thanks
 
When the home page loads, (whenever the homepage loads), it loads all the pages/sites it finds in the published nav feature into the cache. Because we have lots and lots of these, it takes ages, as I say, on average 30 seconds.
 
I'm no sharepoint guru, or even power user so feel free to disregard this :p
but is this not negated by the various warmup scripts there are? :)
 
When the home page loads, (whenever the homepage loads), it loads all the pages/sites it finds in the published nav feature into the cache. Because we have lots and lots of these, it takes ages, as I say, on average 30 seconds.

Interesting. I am having similar problems on a live deployment at the moment - only have issues in the pre-prod environment though. I have publishing feature enabled and am using custom masterpage with 3 levels deep of navigation.

With caching enabled you'd think that it would be quicker to load pages. Best suggestion is to post up on the SP2010 Technet forums. Does Fiddler show anything strange going on with slow page loads?
 
Agreed. We can set the cache, disable, enable, whatever, and none of it seems to make a difference to this particular "feature". Of course, to make matters worse, this feature is by design (for published sites) so to "break" it, or alter is not documented massively. Personally, I think it's an IIS setting, more likely something in the web.config. SharePoint seems to remove certain caching parameters from here. I could investigate the web.config with it turned on and with it turned off to clarify that thought though.

I can't use fiddler as this is a secure system. Nothing goes on, nothing goes out, but I can try :)
 
I've used warm up scripts but absolutely no luck with this. They generally are only beneficial for quicker loading after an iisreset as far as I know.

Lucero do you have any links to what you have found caching when using this feature?
 
See, in a live, web facing environment, we'd just riverbed the solution, but we can't do that here interally.

Here are some of the links I've been fighting with:
http://technet.microsoft.com/en-us/library/cc261797.aspx
and link through to Page Output Cache Profiles

http://forums.asp.net/t/1268449.aspx/1
Disabling Cache for all web applications (web.config)

There's loads more but they are all on my work PC.

Interestingly, I've just found this which may lead to something:

http://weblogs.asp.net/soever/archi...flushing-publishing-pages-from-the-cache.aspx
 
Back
Top Bottom