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.
This version is another critical bug fix. In 1.2, if the lookup table is empty then we will re-request the lookup table from the cache on every page request. That could result in several dozen identical cache_get() calls that just burns cycles. This version fixes that. It also switches from require_once() to require(), which should be very slightly faster.
This release fixes a critical bug in 1.1. In earlier versions, the lookup table was rebuilt on every failed lookup on the logic that you're unlikely to actually trigger a lookup unless you actually had data. However, I discovered that was causing dozens of cache_set() calls per page, which is doubleplusungood. This version uses hook_flush_caches() to rebuild the lookup table instead, which is really should have done in the first place.