Block Cache Alter doesn't work when modules defining content access restrictions are enabled (such as content_access, privacy, tac_lite)

Comments

swentel’s picture

I've been bitten by this one too, you can't enable block caching on the performance settings page am I right ?
I think I'm going to alter the 2 patches to remove the variable_get('block_cache', 0) completely in the _block_get_cache_id function and form_alter the block cache settings too on the performance page. I'll try and post a patch somewhere this weekend.

swentel’s picture

Hi, the next built of the development version alters the performance settings page so it's possible to enable block caching. It also adds a warning that you need to apply the blockcache_alter_no_node_grants.patch when there is at least one module implementing node_grants. Without that patch, caching still wouln't work.

Let me know if this fixes it for you and I'll roll out a new release this week.

rmcippo’s picture

Hi, you fixed the problem for me. So far block cache alter works properly. Thanks a lot

swentel’s picture

Status: Active » Fixed

Cool thanks for testing, I'll roll out another release soon!

swentel’s picture

Status: Fixed » Closed (fixed)

Release out, marking as closed

linamjc’s picture

Hi

i'm using the module, but it's not working at all, the changes are showed at the same moment, I don't know if maybe it is because i'm working local in my pc, someone has an idea ??