aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/cache_test.go
Commit message (Collapse)AuthorAgeFilesLines
* dashboard: optionally cache displayed bug groupsAleksandr Nogikh2023-10-231-0/+79
For upstream Linux namespace, it sometimes takes up to 5-10 seconds to load the main page. That is too much and the reason for this is datastore not being intended for frequent querying of thousands of entities from the database. Let's take a step forward and at least cache the bugs we display on the main page. Once in a minute, query them for all access levels, compress and save to the memcached. Only do it for non-filtered bugs, because otherwise it works fast enough. As the next step we could also take care of terminal pages.