Hello,
First off, thanks very much for this module. It's extremely useful for fine grained control over the block caching mechanism.
I think i've misunderstood the settings probably but here's my case
- i have a block on the frontpage which is of type "Full PHP Code" which invokes a function to generate the content and it takes close to 5 to 6 seconds to load.
- to reduce the load time, i installed this module and in the block configuration "Cache Settings" i selected "Cache setting: Cache once for everything (global)"
now, the page loads are quick due to the block being cached. however, this works only for an anonymous user. if i login as admin (user id 1) or any authenticated user and keep opening the frontpage in a new tab, it does not load the content from the cache.
so my query is, Is "Cache setting: Cache once for everything (global)" only meant for anonymous user ?
if so, what do i need to do to enable it for all users ? should i choose "Per User" for cache setting ?
Appreciate any input on the above cache setting.
Thanks.
Yashesh Bhatia.
Comments
Comment #1
swentel commentedWell, that's a constant used by drupal core, see http://api.drupal.org/api/drupal/modules--block--block.module/constant/B...
Comment #2
scotwith1tI'm certain we will be using this, given the recommendations out there, but instead of opening a new issue, I thought it best to re-use this one. Can you take it a step further and explain the implications of these options? I want to be certain to set each block's setting appropriately.
Thanks very much.
Comment #3
swentel commentedSee http://api.drupal.org/api/drupal/modules--block--block.module/6 - the constants are defined on that page.