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.
Whenever the UI for selecting access controls is shown for a node edit form, and CCK is enabled, the entire site cache is dumped. This is caused by an incorrect call to content_extra_field_weight() where the first parameter is NULL. CCK assumes that the cache of content types might need to be rebuilt, and rebuilds all cached data. This is a pretty significant performance hit. On a local copy of a client site, I was getting around 300ms savings per page request.
Patch forthcoming.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1389738.1-content_extra_weight_cache.patch | 971 bytes | deviantintegral |
Comments
Comment #1
deviantintegral CreditAttribution: deviantintegral commentedHere's the patch. Note this bug doesn't appear to exist in 7.x-1.x as we don't need to use extra weights from CCK at all.
Comment #2
mrf CreditAttribution: mrf commentedTested and committed to 6.x-1.x-dev.