A call to t() in FAQ causing excessive locale cache refreshing
Agaric @TODO - report this to FAQ issue queue
Here's a string that shouldn't have been in t() --
aeb831da T+0.588907 [DEBUG ] cache_clear_all('locale:pt-br', 'cache') in `modules/locale/locale.module':213
locale('A:') in `includes/common.inc':732
t('A:') in `sites/all/modules/faq/faq.module':583
faq_page()
call_user_func_array('faq_page', array()) in `includes/menu.inc':418
menu_execute_active_handler() in `index.php':15
aeb831da T+0.618790 [DEBUG ] cache_clear_all('locale:pt-br', 'cache') in `modules/locale/locale.module':213
locale('this is the FAQ description - who is editing it apart from me here ? ') in `includes/common.inc':732
t('this is the FAQ description - who is editing it apart from me here ? ') in `sites/all/modules/faq/faq.module':721
faq_page()
call_user_func_array('faq_page', array()) in `includes/menu.inc':418
menu_execute_active_handler() in `index.php':15
Resolution
More like this
- t() call in hook_info in Usernode causes too much locale caching
- Locale slowing stuff down, too many cache refreshes: investigating the professional way
- locale_refresh_cache call by Subscribe: legit or not?
- Cache clearing craziness, taxonomy and locale notes
- i18nmenu too many calls to refresh cache?


Comments
Post new comment