task #4978
Updated by Andreas Müller about 6 years ago
successor to #4179 (improve performance of portal/taxon/{uuid}/media) I tested on test (ca. 0.5s and production 0.9s) which shows that * performance for this webservice is much better now. However, we may think about further improving it. Currently the algorithms iterates all description elements to find one with media attached. We may want to have an HQL query which returns only description elements which DO have media. * The current improvements only worked on the BeanIntitializer but we can also work on the specific query. Generally a query which does not return any data (which is the case here) should be faster than 0.5s.