Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.