Open
Description
Currently /admin-ng/resources/events/filters.json
is requested twice on events/events
page load. It is not cached at all as it is set to expire at unix epoch. This includes
- every series name and ID (we have ~14000 in our test system)
- every capture agent name and ID (we have around 600 in our test system) the data is also duplicated in the json under "agent" and "location".
This takes around 2.5MB of download and 10-15s (I think the slowness is probably OC not network bandwidth as I've tried gzipping this in the past and that didn't speed things up)
Clicking on the series filter and scrolling down the list is extremely slow as is typing into the box.
old admin screencast (slow to load but responsive once loaded):
filters.-.old.admin.mp4
new admin screencast (slow to load and generally unresponsive):
filters.-.new.admin.mp4
We should probably only request data once when it is actually required, or even better, use some sort of autocomplete so that the entire list is never fetched.