Improve performance of home page
Currently, the full DE home page newly loads in about 18 seconds (indeed depending on internet and client system speed - but we are working in a rather comfortable environment):
This is too much. The main performance bottlenecks seem being:
- Downloading the 2 bundles (~1MB) takes about 10 seconds. Could part of the code be loaded subsequently in the background while the user already sees the screen and starts typing search terms?
Logos & icons seem too big/slow (at least 25kB in 3.3 seconds). Can we use higher compressed jpg instead of png? Why do we get "HTTP 304 - Not modified" for one of them but not the others (the refresh was triggered with Ctrl-F5)?-
The config request (122kB) returning all facets and their content takes 3 seconds. Could another method be used that returns only the requested home page facets and their content but not the others? This call will get worst constantly as more datasets with their dimensions and codelists are indexed with the search.--> Done with dotstatsuite-sdmx-faceted-search#100 (closed) When refreshing the search result page then the the same global config request is fired before the real search request.-
When entering a freetext search in the home page then this results in 2 subsequent search queries - why?Done with #592 (closed), but there are still cases when the network query it twice (200 and 204 search queries), this query doesn't get anything from the DE param (except for tenant) and doesn't return anything.
Edited by Jens Dossé