[Visualize] Client Side caching #102622
Labels
Feature:Visualizations
Generic visualization features (in case no more specific feature label is available)
performance
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Describe the feature:
We could do some optimizations in order for our visualizations to cache the data in the browser and only fetch them when is necessary. Even if I change something that affects the chart and not the data (for example change the palette), a search request runs again.
We could use the session id in order to cache our search requests and only trigger them when is necessary.
Moreover, we could improve our performance if the
searchSessionId
from the dashboard is shared to the visualization that is edited. In that case, there is no need to re-fetch the data, as they were already fetched on the Dashboard.Lens has already addressed it in a very smart way. Helpful resources:
The text was updated successfully, but these errors were encountered: