Continue early if bucket length is zero, skipping a few instructions in the code path.
Created attachment 18134 [details] Continue early if bucket length is zero
This is actually in trunk, in mod_cache_disk which replaced mod_disk_cache in 2.4.x. This was done in r1002832. @@ -1131,6 +1122,33 @@ return rv; } + /* don't write empty buckets to the cache */ + if (!length) { + continue; + } So closing this report.