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.
Hi all,
I've a 2 languages site with tons of nodes and with main menu that counts 273 items.
Devel query log shows me that approximately 2120 queries are executed for every page, 1920 of wich are generated by i18n_string_textgroup_default::load_translation.
I'm here to ask if load_translation function can be cached someway (can't understand why is necessary to re-request to db all translated labels/menu items - that never changes - for every page load)
Thank you very much for any help
Comments
Comment #1
Jose Reyero CreditAttribution: Jose Reyero commentedNot yet, but being addressed #776146: A simple cache for i18nstrings_cache() to reduce queries