https://localhost:8443/api/runner/available is huge / slow to load / etc
I can't currently load the schedule-test.html page (on a slowish network connection) because it gets stuck loading https://demo.certification.openid.net/api/runner/available - which is 2.4 megabytes, and also seems to be marked as non-cacheable, and also appears to be uncompressed (it's JSON and gzip compresses it down to 84K). It took over 5 minutes to load on my current network connection (in-flight wifi).
We also actually only seem to use a tiny bit of the 2.4M of data (most of the page is populated from https://demo.certification.openid.net/api/plan/available ) - I think it's only used here:
// add in any fields from the associated modules
_.each(selectedPlan.modules, function(module) {
if (FAPI_UI.availableTests[module.testModule]) {
fieldsToShow = _.uniqBy(fieldsToShow.concat(FAPI_UI.availableTests[module.testModule].configurationFields));
}
});
We could do this bit of processing server side perhaps (but I'm not 100% sure exactly what this processing is doing :) ).
Not sure exactly what we should do, but seems like there's a several things we could do, any one of which would improve things.