1. drupal
    1. 8
    2. 7

The block should not get cached. This setting should be used:

  • for simple blocks (notably those that do not perform any db query),

where querying the db cache would be more expensive than directly generating the content.

  • for blocks that change too frequently.

includes/common.inc, line 119

define('DRUPAL_NO_CACHE', -1)