Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [object-cache]

Object cache is the third caching option we have for SharePoint 2010. What Object cache does is stores metadata about SharePoint Server objects (like SPWeb, SPSite, SPList, etc.) on the WFEs.

1
vote
1answer
35 views

access denied after setting up superuser

I keep getting "Sorry, this site hasn't been shared with you." after I ran $wa = Get-SPWebApplication -Identity “<WebApplication>” $wa.Properties[“portalsuperuseraccount”] = “<SuperUser>...
1
vote
2answers
194 views

SuperReader and SuperUser accounts as managed accounts with password change schedule?

I was wondering if it comes to any complications when I set the SuperReader and SuperUser account as a managed account with a password change schedule? I found this thread: How does SharePoint 2010 ...
1
vote
1answer
709 views

Which caching method is better in SharePoint 2016

I am looking at available options for caching in SharePoint 2016 for sites with lots of css, js, images etc in master page and page lay out and have few question around it. There are three types of ...
0
votes
2answers
102 views

In which scenario to use object cache

in which scenario to use object cache for a intranet web application that is accessible by internal users in a domain, this intranet is publishing site. and differences between object cache and blob ...
2
votes
1answer
102 views

How to add custom object to global object cache?

I want to cache a big object in one site collection which will be used across all event receivers and web parts. How can I get the current object of cache. Every example which I found uses Cache ...
2
votes
2answers
3k views

How does SharePoint 2010 uses the SuperReader/SuperUser accounts?

Have configured the object cache many a times without really thinking about this - How does SharePoint 2010 uses the SuperReader / SuperUser(Object caching) accounts without password? Remember, there ...
2
votes
0answers
253 views

Using distributed Caching in SharePoint 2010

Currently i am using .Net Cache, to store some data but its not distributed so each WFEs maintain a separate version of data, I want distributed caching, what alternative i have in SP 2010 ? I heard ...
5
votes
2answers
920 views

Warm-up solution Best Practices to improve performance?

Are there best practices or recommendations in using warm up solutions/scripts? How does one schedule warm up solutions to run periodically? Any information regarding this will be helpful. Thanks
1
vote
1answer
1k views

Browser loads old version of css/masterpage/page layout

We have a few different environments for dev/test/uat and prod, in the prod environment we have an issue with cached files that never get updated. I have compared the site collection settings for ...
2
votes
3answers
666 views

Object cache not returning results

I have a really strange problem. I'm using object cache to faster retrieve results when using SPQuery. My code to get items is as follows: PortalSiteMapProvider ps = PortalSiteMapProvider....
1
vote
4answers
3k views

Disable caching for specific page

I've set up a caching on a SharePoint site. But have one specific page that should never be cached. How do I disable caching for a specific publishing page on a SharePoint site? Or how do I flush the ...
0
votes
1answer
698 views

How to configure Anonymous search results cache in sharepoint?

I want that anonymous user serch first their catched query
3
votes
2answers
6k views

Difference between Object cache and output cache

I came across couple of questions in exam dumps of 70 - 667 but bit confused if someone can explain me difference between output cache and object cache in few lines and possible scenarios we use them ...
6
votes
3answers
2k views

SPSite.Exists returning true for a just deleted site collection

Short story - I have a process that creates some sitecollection, so to test it I keep deleting and recreating the same site over and over. The process includes a check with the istruction SPSite.Exits,...
0
votes
1answer
112 views

Identify Object Cache User in Web Application

Would anyone know how i could find out what user is assigned to the portal super user and portal super reader accounts for object cache? Is there a listing in CA or something i could source up for ...
1
vote
2answers
859 views

CQWP or default list view webpart

I have bunch of document libraries for Sales site collection. These doc libs are by Year. These are going to be read only records. By default the list view displays everything. No filter needs to be ...
3
votes
2answers
696 views

What's the preferred way to cache .NET objects in SP Foundation?

I have a SharePoint 2010 Founation (farm) solution scoped at the site collection level. What I'd like to do is cache some of my custom .NET objects so that the page requests can be processed faster. ...
1
vote
2answers
852 views

Do the Portal Super User and Portal Super Reader accounts configured for accessing the Object Cache need to be Managed Accounts?

The TechNet article Configure object cache user accounts doesn't say anything about it. Does anyone know?
6
votes
2answers
1k views

Object cache in sandbox solutions

I am building a SharePoint sandbox solution which consists of multiple web parts. I want to be able to somehow cache POCO objects (Plain Old CLR Objects) in such a way that the cache is persisted ...
0
votes
1answer
453 views

SharePoint 2010 teriary navigation dissappearing on AppPool recycle &/or flushing of the object cache

I've got an issue where the tertiary level navigation randomly dissappears on a publishing SharePoint 2010 site. I can reproduce the dissappearance by recycling the app pool or flushing the object ...
3
votes
2answers
4k views

How to flush object cache in SharePoint programmatically

In SharePoint we can clear the object cache from Site Collection Administration - Site collection object cache Is there a way to do the same programmatically?