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.
I discovered on a production site that cache_google_appliance never clears out, it just keeps adding new entries. This becomes a serious performance impact when the table gets over 1,000,000 rows; we had 2,500,000 rows and the site was slowing to a crawl.
Attached is a simple patch that implements hook_flush_caches() that does the trick.
Comment | File | Size | Author |
---|---|---|---|
clear_google_cache.patch | 724 bytes | SamLerner | |