Increased performance for '/dls/all/' page

Now it takes about 60% of the time it used to take.
Merge branch 'optimize-dls-all'