I have an auto complete field that should contains "person name" value from database .
Now every time database has new "person name" I want my autocomplete field to contain that value.
I don't want to query my database every time autocomplete field is accessed as these names can be 10k+.
What can be a better solution to this?
You can cache names, but when a new one is added into your database you have to invalidate it by querying
Mirco
Doragonsureiyā
Rahul
Furqan
Michael the wolf 🐺
Faisal
Sheshadri