Forum Discussion
SharePoint Caching Problems with Lists
- Jan 13, 2022
Hi group, I did some digging on this and believe I have found the issue for our tenant.
The OneDrive client appears to be syncing Lists from SharePoint Online (et. al) by default. To verify this is what is happening, you can perform the following steps:
- Open Dev Tools on Chrome (F12)
- Navigate to "Network"
- Select "Fetch/XHR" as type
- Enter "RenderListDataAsStream" as a filter
- Attempt to sort a list that is cached
The results should show "localhost", "::1", or an equivalent loopback address under the "Remote Address" column.
You can then use resmon, netstat or Get-NetTCPConnection/Get-Process to find the IM of the process name and ID of the port being used for these local XHR requests to the RenderListDataAsStream endpoint. In my scenario, it was port 42050 (probably randomized), which was shown in use by the Microsoft.SharePoint.exe application, located under \AppData\Local\Microsoft\OneDrive\<version number>.
If you see this behavior, you can attempt to mitigate the caching by:
- Setting
[HKLM\SOFTWARE\Policies\Microsoft\OneDrive] "DisableNucleusSync" = "dword:1"
(per MS Docs - Use Group Policy to control Lists sync settings ) - Rebooting machine, or force closing the task with IM of "Microsoft.SharePoint.exe".
- Reloading the list page (may need to force-refresh).
This appears to be working on our test machines (all Modern UI queries are forced to use the SPO servers instead of OD), but I'm not entirely sure of the effect this setting could have in regards to SP, OneDrive, Teams, etc - so it should probably be used with caution.
Hopefully this helps your tenants as well. Good luck!
- robertchamplinJan 25, 2022Copper ContributorJnlce's suggestion is the best so far - it only addresses the problem for individual machines, and only if your security settings allow it.
- pdfrigJan 26, 2022Brass ContributorAh okay, seems like it's been going on for awhile now and MS hasn't been able to address. I will look into jnlce's suggestions. will have to do this for more than one user 😞
- Matthew CarterFeb 22, 2022Iron ContributorDid you try any of the fixes and if so, did they work?
- pdfrigFeb 23, 2022Brass Contributor
Matthew Carter So far changing the List Settings - > Advanced Settings -> Set Offline Client Availability to 'No' seems to work.
I also had a ticket with MS Support for this and they provided the same steps that jnlce mentioned in this thread. I added the DisableNucleusSync and set dword:1 as specified here: Lists sync policies - SharePoint in Microsoft 365 | Microsoft Docs Make sure to reboot after making the change. The change will have to get pushed out to all users though. Both solutions fixed other issues we've been having as well, and so far, no caching problems after the fix was applied.