The trees themselves on Sheriff-o-Matic never really change or get reloaded, so I think it's not really that useful to have them retrieved using an AJAX request.
We could remove the /api/v1/trees/ endpoint in favor of just directly passing in an JSON with all the trees into Sheriff-o-Matic's frontend. Then, users won't have to wait for the ajax requests to finish for the trees to load either.
Comment 1 by bugdroid1@chromium.org
, Jun 8 2017