[SO Tagging] improve the browser-side cache mechanism #160751
Labels
discuss
Feature:Saved Object Tagging
Saved Objects Tagging feature
Team:SharedUX
Team label for AppEx-SharedUX (formerly Global Experience)
At the moment, the SO tagging plugin fetches the tags at a fixed interval (15mins by default)
This was mostly driven by technical constraints, as the places where the feature was integrated in other applications (e.g dashboard) did not support async loading, so we had to keep an up-to-date cache with synchronous access.
kibana/x-pack/plugins/saved_objects_tagging/public/plugin.ts
Lines 71 to 75 in 3730dd0
However, this approach creates a few problems:
Ideally, we would find a way to stop using a cache and load the list on-demand when an application needs it. However, this may be quite challenging, given the places SOT is integrated (e.g dash/vis edition popins)
If this can't be done, then we should at least look at solutions to limit the problems:
cache_refresh_interval
value?The text was updated successfully, but these errors were encountered: