[ckan-dev] slow tags page

David Read david.read at hackneyworkshop.com
Fri May 4 16:58:37 UTC 2012


The CKAN tags page loads pretty slowly. In our site we have 8000 tags
and on my own machine one page load takes 75 seconds.

It only recently became this slow, and it seems to be the dictization
of each tag, because all_fields=True in the controller. This is only
necessary when tags have vocabularies or translations. We don't have
those on our site, so I've overridden the controller to make made
all_fields=False. This got my page load down to 2s.

So OKF, you might want to look at this.

David




More information about the ckan-dev mailing list