making first steps on the mage2 implementation.
I have two related issues that are a performance and UI problem:
- The instantsearch result page always renders all facets configured in the system. This is super unusbale from a customer point of view, plus performance wise (we are having hundereds, and will go to thousands this year) an issue for the browser. Hiding them via JS/CSS aftrer creation is a non solution. They should just not be there in the first place
- Related to that, the configuration.phtml spits out all those facets to the browser on every single page request. This again is a super blown up piece of JSON. I think this a.) should go to localstorage/cache and b.) should come as part of a search result.
Any idea how to fix that quickly?