How to use caching in SPFx using PnP Caching
Vložit
- čas přidán 7. 09. 2024
- #SharePoint #SharePointOnline #SPFx #M365PnP #PnP #PnPCaching
This video explains how you can leverage the caching mechanism easily using PnP Caching in the SharePoint Framework web part. A complete guide on how to use the caching, setting the properties globally, or based on the call. Demo to explain different concepts in caching.
Blog - spknowledge.co...
PnP Caching - pnp.github.io/...
Github code repo - github.com/sud...
Like and comment if you find this video useful or you had learned something new. Thanks for your support.
Happy Sharing...
Good one
Hi sudharsan, only limited items would store in local? Like 5k items. Is that possible for more than 5/10k items to be stored?
Hi Kamalesh, though it supports 5K items, it is not recommended to store a huge amount of items in the local cache which will increase the load in the browser and it will hang the browser most of the time. If you want to store huge items then you have to use the IndexDB storage not the local storage.
Use the local cache for minimal number of items that are not modified often.
@@sudharsankgoogle okay sudharsan. IndexDB, did you have blog for it? thanks for the quick response.
@@kamaleshk1268 No but soon I ll post a blog and also video on using Index DB
@@sudharsankgoogle Thanks