MGT People Picker caching not working as expected #3452
Unanswered
prashantcrowe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using MGT People Picker in react, I see as soon as I type it starts making network calls for users & photo, but I wanted to utilize caching to reduce frequent network calls,

Here's the network screenshot
I am referencing documentation https://learn.microsoft.com/en-us/graph/toolkit/customize-components/cache#examples to enable cache on the items, but I do not get any benefits, and same result
Here's what I added in code, to cache the result, users, photos
Though I can see the cached content in indexedDB, still no difference in network calls, even after repeatedly searching for same string

Beta Was this translation helpful? Give feedback.
All reactions