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.
After enabling Authcache Form sub-module, the forms cache appropriately, but the cache_form table never clears (even on manual flush).
This bloats the table to +1,000,000 rows very quickly and makes the database unmanageable.
Comments
Comment #2
Marko B CreditAttribution: Marko B commentedThis is probably not connected to auth cache. Its common drupal problem
https://www.drupal.org/node/1506196
https://www.drupal.org/node/2057073
....
There is even a module for that
https://www.drupal.org/project/optimizedb
Comment #3
znerol CreditAttribution: znerol commentedThanks for the report. Could you please dig a bit in your data and try to figure out if there is a particular form which is responsible for this behavior? The following script selects the 1000 most recent entries, extracts the form ids, and sums up how many times that particular form has been stored in the sample.
Comment #4
znerol CreditAttribution: znerol commentedComment #5
znerol CreditAttribution: znerol commentedComment #6
Marko B CreditAttribution: Marko B commentedNice snippet :)