Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
SELECT component_id FROM {project_dependency_component} WHERE release_nid=:nid AND name=:name
is one of Drupal.org’s most time-consuming queries now that dependencies are shown on release pages. With a static cache, the number of times this query runs can be reduced.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2825765.diff | 2.19 KB | drumm |
Comments
Comment #2
drummThis adds that static cache. For https://www.drupal.org/project/og/releases/7.x-2.9, this reduces the query from running 57 times to 26.
Comment #4
trobey CreditAttribution: trobey as a volunteer commentedThis has been committed and a new release created.