Speed up autocomplete suggestions #1465
Labels
Area: Autocomplete
type:infrastructure
Core back-end work which includes quality work, code refactor, tests etc
Milestone
Is your feature request related to a problem? Please describe.
For the resource explorer to work, the application fetches a links only subset of the open-API description. We can leverage this since it is local and can reduce the calls made to the api
Describe the solution you'd like
Only check the API for query parameters since they do not come in with the open-API description loaded on page load. Since the links are already available, simply check in state to get the next part of the url. e.g.
me/
should yield a list straight from the state and not from a network callDescribe alternatives you've considered
Keeping it as is. No complaints have been made so far about the number of network calls
Additional context
Reducing network dependency would make autocomplete search faster
The text was updated successfully, but these errors were encountered: