Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
block.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Nov 2009 at 01:29 UTC
Updated:
30 Nov 2009 at 08:25 UTC
block_block_info_alter() makes two identical queries on every page, we can cut those down to one cache_get(). The cache_block bin gets cleared when block admin pages are saved, so free cache clearing. Only saves one query with the default database cache, but it's on every page with block module enabled, and it's easy to do.
| Comment | File | Size | Author |
|---|---|---|---|
| block_cache_info_alter.patch | 1.87 KB | catch |
Comments
Comment #1
catchhttp://drupal.org/node/631420
Comment #3
catchStupid, stupid me duplicating my own issue :( #646484: Cache queries from block_block_info_alter()