[keycloak-dev] need to cache REST calls

Bill Burke bburke at redhat.com
Mon Aug 5 08:48:42 EDT 2013


IMO, the admin UI makes too many REST calls that will make the UI both 
slow and increase load on the backend.  We should fix this after the 1st 
iteration of the admin UI.  When the GlblCtrl initializes it should make 
one big REST require to down everything that makes sense in the first go 
and cache it in a global scope.  (i.e. everything but users and 
role/scope mappings). UI components should render and link their models 
to variables in the global scope.  I've already had to do this to make 
the realm-switching select box I added work in an integrated fashion.
-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the keycloak-dev mailing list