Before starting to set caching per block, do we need to enable Block Caching in admin/settings/performance?
OR
is it enough to set block caching per block without enabling it before and the default is no caching for all blocks?
Thanks.

Comments

swentel’s picture

Status: Active » Closed (fixed)

You need to enable block caching on the performance page yes.

jmseigneur’s picture

Well in the meantime I've tried to set global caching for one block without having admin/settings/performance block caching enabled and it seems to work. The block is cached but not the other blocks.
So I think it is possible to not enable and still have separate block caching, isn't it?

BTW, if admin/settings/performance block caching is enabled, all blocks seem to be impacted and it doesn't work in my case because a Gmap block doesn't render anymore ("Javascript is required" appears). In my case, I disable admin/settings/performance block caching and enable caching for specific blocks only and not cached Gmap block works fine while other blocks are cached.