Skip to main content
Image
Drupal Sapiens snippet

Disable cache of a custom block

Although it is not recommended, it is possible to disable the cache of a custom block. You can use it, for example, when you are developing a custom block in your module and while you are making changes you want to reflect the changes by refreshing the page, avoiding having to clear Drupal caches.

Join the Drupal Sapiens Community

Save content that interests you, connect with others in the community, contribute to win prizes and much more.

Login or create an account here

Featured

Last news