Caching is a process that transparently stores data so that future requests for that data can be served faster.

learn more… | top users | synonyms

1
vote
1answer
34 views

SharePoint 2013 Client Context authentication token/cookie?

I am building a WPF application that uses Microsoft.SharePoint.Client.ClientContext to connect to a SharePoint 2013 site and interact with lists. My SP site uses Windows Authentication, and all users ...
1
vote
1answer
26 views

Caching stock ticker information

I need an advice where to cache the stock ticker info that i pull from a 3rd party service. The requirement is that if the ticker info is unavailable, i have to cache the last positive result set and ...
0
votes
3answers
39 views

Best way to cache large SPList for users with security trimming

The scenario: There are performance problems around viewing a large list with several thousand items. I want to cache it to reduce the query to the database. Users need to be able to see this list, ...
0
votes
0answers
21 views

Visual Studio 2012 cache Unit Test results of SharePoint solutions

It's my first time with Unit Tests in SharePoint and I've noticed some strange behaviour. I have a solution with 2 projects: Project ProjectTest My test method: [TestMethod] public void ...
2
votes
1answer
195 views

Multiple time in ULS Log: CannotMakeBrowserCacheSafeLayoutsUrl

In my ULS Log is frequently the following entry: Unexpected: CannotMakeBrowserCacheSafeLayoutsUrl: 15/1033/styles/core.css What does it mean? How can I fix it?
0
votes
1answer
56 views

Script file file not being loaded through ScriptLink custom action - SharePoint app

I am having trouble with script link custom actions. I am building a SharePoint app, and I successfully added a site-scope custom action pointing to a script file in the Style Library, as I want this ...
0
votes
1answer
142 views

SessionStorage caching when getting items from a list

SP.SOD.executeFunc('sp.js', 'SP.ClientContext', sharePointReady); var listTitle = []; var listUrl = []; var listIsActive = []; var listOrder = []; function sharePointReady(){ var siteUrl = mysite; ...
0
votes
0answers
55 views

Problem accessing Azure Managed Cache from my Office365 SharePoint App

I am having a problem accessing Azure Managed Cache from my Office365 SharePoint autohosted app. I am getting following error: Microsoft.WindowsAzure.ServiceRuntime Error: 102 : Role environment . ...
0
votes
0answers
38 views

Custom SharePoint navigation suggestions.. client side or server side? What about caching?

I have a requirement to build a custom navigation menu for SP2013 that will go on the side of each page. I have tried to use OOB Quick launch, global nav and term sets but they all have their own ...
0
votes
1answer
136 views

SP 2013, Files are not updated after change

I have the following strange behaviour when using Sharepoint Designer to edit files on my sharepoint: I upload a new CSS-File. I use said file in a script editor -> everything is fine I change the ...
5
votes
2answers
188 views

Caching Ideas for SharePoint 2013 Autohosted App

I am working on a SharePoint 2013 Autohosted App that retrieves a lot of information from a remote system before displaying it to the user in the App. I'd like to create a caching layer to boost the ...
1
vote
0answers
105 views

CQWP with custom XSL not working, cache issues

I'm replacing the default ItemStyle.xsl with a custom xsl file, my xsl file contains the default xsl:stylesheet and a xsl:template looking something like this <xsl:template ...
0
votes
0answers
23 views

Store and Refresh DB data in a Session

There's a user control added to the left navigation of a SharePoint 2013 site. The User Control code makes DB calls on each page load. As this is bad, I'm planning to get data from DB and store in ...
1
vote
0answers
175 views

SharePoint 2013 blob cache not working on document library files

I have enabled SharePoint Blob Cache by modifying BlobCache Element in web.config of my Web Application. In this scenario, all the default SharePoint files (OOB JS and CSS files) come with an ...
1
vote
1answer
93 views

Getting “Cannot use the changeToken from one object against a different object” calling CrossListQueryCache

We have a custom web service hosed in the ISAPI\ folder. We are getting the SPSite of a different site collection in the same Web Application using the url (and making sure it is exposed after use). ...
0
votes
1answer
49 views

How to cache js/css/media assets from server in apps?

If you reference for example a JavaScript library from a CDN it will loaded from the browser's cache if it has already been downloaded. But SharePoint doesn't always run in a Internet facing ...
1
vote
2answers
261 views

How to avoid caching issue when using custom JavaScript and CSS deployed under Style Library not in _Layouts?

I have my css files placed under style library not in _Layouts folder. how to cache these style library assets? Please help me Thanks
1
vote
0answers
164 views

Custom JSlink template intermittently not downloading for anonymous users

I've developed a JSLink template that works fine. I've tested it with authenticated and anonymous access and it works flawlessly. The problem that i'm seeing is that when I open the page with the LVWP ...
1
vote
1answer
205 views

Add reference to AppFabric dll for custom caching

I'm trying to add reference to the following dll so I can make use of AppFabric to cache some custom objects. I've looked at this page ...
3
votes
1answer
103 views

CrossListQueryCache on custom WCF always not cached on first hit

I'm using a custom SharePoint WCF to query against Document Libraries. At first i've tried to use SPQuery. Unfortunately the performance is not that what i am expecting. Takes about 1-2 seconds for ...
2
votes
3answers
346 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 = ...
1
vote
2answers
2k views

AppFabric crashing on SharePoint 2013

SharePoint 2013 running on Windows Server 2008 R2, updated with the latest CUs (March, April, June, see http://technet.microsoft.com/en-us/sharepoint/jj891062.aspx). All O.S. updates installed. It's ...
0
votes
3answers
452 views

disble 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 to disable caching for a specific publishing page on a sharepoint site? Or how to flush cache of ...
4
votes
3answers
835 views

How to prevent SharePoint 2013 caching static files in layouts folder?

When doing development in SP2010, I used to be able to edit files in _layouts/MySolution/... directly in 14 folder and see changes immediately (.js, .css files). That reduced time a lot while ...
1
vote
2answers
2k 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 ...
1
vote
0answers
43 views

How would I alter browser cache info (http headers) for scripts and css in Sharepoint 2010?

I would like to have more control over browser caching from solutions, including one that includes scripting libraries and CSS libraries so that I can control how long they reside in the browswer ...
1
vote
1answer
915 views

Clear Output Caching on SharePoint 2010

I'm trying to improve my site performance using output cache. The problem is that the site is in 2 languages. The site is a sharepoint site. I use: <%@ OutputCache Duration="1800" ...
3
votes
2answers
426 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
200 views

Firefox and Chrome: Caching previous pages after user logs out

Is there a way to prevent browsers from doing this? The backstory is, the application is a sharepoint 2010 app for a financial investments company. So needless to say this sort of caching issue cant ...
3
votes
1answer
357 views

Caching SPListItems with Permissions

I have a versioned list that I need to cache list items for. The effect of which being: If a user has permission to view non published items the cache can return the item pending approval. ...
1
vote
1answer
225 views

People and Groups page seems to be cached

I have a dev server for a SharePoint 2010 Publishing site, with a problem. When I log into SharePoint as a Site Collection Admin (among other group memberships) and go to the site collection site ...
5
votes
1answer
2k views

SharePoint output page cache always re-created / Rendered using cache profile debugging info " Time always changes

This issue has been isolated to "old" content that was published prior to activating the output cache profile. New content (post cache activation) is not suffering from this. I have a SharePoint 2010 ...
2
votes
1answer
90 views

How to doing cashing with list In Moss 2007?

i have no idea that hows to doing cashing in Moss? In my application during page load taking so much time around 20sec. so i want to reduce this time period. Problem is that i have retrieved data ...
1
vote
1answer
429 views

Using SharePoint lists in DAL instead of a database (with caching)

I am planning to utilize SharePoint lists in a custom solution. I would like content managers to make updates to the lists, and then publish the changes. The lists would be accessed from DAL which ...
3
votes
1answer
1k views

CSSRegistration and revision numbers?

I'm currently using cssregistration to add css to sharepoint pages. All is working until I need to do an upgrade of the css. The context is: I used a delegate control in a feature containing the ...
1
vote
1answer
634 views

SharePoint caching and how to ignore it

I am new to SharePoint so I may be asking a very simple question. We have a webservice in java which accepts a username and password and using these crendentials it hits SharePoint (using ntlm ...
1
vote
1answer
1k views

List view caching on publishing page

We have a publishing page on a SharePoint 2010 server; it display a list view which has this turned on under the web part's Miscellaneous tab: [X] Enable Data View Caching (Data View Caching Time-out ...
3
votes
2answers
779 views

Implementation of AppFabric caching in SharePoint 2010 Farm

Firstly, I am a beginner in the SharePoint Infrastructure World; expect some dumb question :) My new application design requires data to be cached, I am leaning towards using Appfabric caching. In ...
1
vote
3answers
158 views

Pagelayout using different version of masterpage

I have made 3 custom pagelayouts, 2 of them just inherit the correct version of the masterpage whilst the last one uses the same masterpage, but an older version of it. It contains the exact same ...
2
votes
2answers
652 views

Does SharePoint cache CSS internally?

Running into a particularly menacing issue on one of our client's live servers. They have 2 facing servers in the farm (client facing), running as a balanced farm. We deploy our changes to FACING-01 ...
2
votes
2answers
697 views

DataViewWebPart XSLT Caching

I have a DataViewWebPart with a complicated and rather expensive linked XSLT (the XSLT itself is stored in the Documents library of the site). Currently, the part takes a long time to render, even ...
2
votes
1answer
333 views

Blob Cache and List Item Attachments?

If I use the Blob Cache, are List Item attachments cached in it? Are there any special considerations for using the Blob Cache with list item attachments?
2
votes
2answers
601 views

What do you do to enable Auto-Versioning of custom CSS and Javascript in SharePoint 2010?

I want to be able to auto-version these in SharePoint and I'm looking for the best solution. SharePoint does it with some of it's files. For example: <link rel="stylesheet" type="text/css" ...
3
votes
4answers
17k views

Does SharePoint keep a local cache of opened documents?

If you open up a document from SharePoint is the file cached locally? I.e so that word can do auto save to it? One of my clients has lost the document they were working on.
4
votes
2answers
3k views

SharePoint 2010 and Caching, too aggressive?

I do a lot of testing with SharePoint 2010 across a few different browsers, regardless of which one I use (IE7, IE8 or FireFox) eventually I run into a problem where a page does not load or behaves ...
28
votes
2answers
919 views

Is SPCache a farm-wide cache?

The MSDN documentation on the SPCache leaves very much to the imagination. But since it sounds interesting, I'm wondering whether it is a farm-wide cache. Does anyone know? Currently I'm caching ...
1
vote
2answers
606 views

“Expires” caching headers for static content in _layouts and the Style Library

Is it possible to set Expires caching headers for static content in _layouts and the Style Library? Currently, each page request generates about 100 requests for static content like CSS, images and ...
0
votes
2answers
356 views

E-Tag for If-None-Match headers in HTTP are not updated for new files

we have a solution with a Module for static files. In elements.xml we would add each file like this <Module Name="Files" Url="Style Library" RootWebOnly="True"> <File ...
1
vote
2answers
587 views

How to Bypass Output Cache in SharePoint 2007 Publishing Internet site

We're building a mobile-friendly site to work in tandem with our client's MOSS 2007 internet site. We need to be able to redirect users who hit the home page and are using a mobile device. Our ...
0
votes
2answers
427 views

Caching mechanism for parameters stored in a web application's property bag

I got following scenario. A web part needs certain configuration parameters (primitive data types) like e.g. an URL (string) to retrieve and show data from an external system. As each instance of the ...