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!
- 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. - robertchamplinFeb 23, 2022Copper ContributorI am unfortunately not in a position to push a change like that out to everyone's PC to fix it, and it doesn't help me to only fix it on my PC because everyone else still overwrites the formatting when they access the list, so I've had to push it to the back burner and move on.
- pdfrigFeb 24, 2022Brass ContributorFor now, maybe try changing List Settings - > Advanced Settings -> Set Offline Client Availability to 'No' to the list you’re having issues with. This way, you don’t have to push out any changes to users. This appears to be working for us so far.
- Matthew CarterFeb 24, 2022Iron ContributorThank you. I THINK that this worked!
I went to List Settings : Advanced Settings
Down to Offline Client Availability
I set NO for: Allow items from this list to be downloaded to offline clients?