Closed (won't fix)
Project:
Block Cache
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2007 at 02:14 UTC
Updated:
17 Jul 2008 at 19:51 UTC
Right now caching is controlled by two checkboxes (user vs. page level), allowing for 4 cases:
1) Sitewide record (both off)
2) One record per page (page type)
3) One record per user (user type)
4) One record per page/user combo (page & user type)
The problem is that with extensive use of PHP block visibility many blocks with complex visibility logic have to be forced into #4. Unfortunately this means enourmous flood of cache table with identical entries (e.g. 1000 users * 1000 nodes).
I suggest a new cache type option that would use cache name returned by a PHP statement specified by admin. This means anyone who needs PHP visibility settings can supplement them with their own caching rules.
Comments
Comment #1
add1sun commentedClosing out old issues.