constant DRUPAL_CACHE_PER_PAGE

You are here

The block or element can change depending on the page being viewed.

File

includes/common.inc, line 156
Common functions that many Drupal modules will need to reference.

Code

define('DRUPAL_CACHE_PER_PAGE', 0x0004)

Related topics

Comments

In some cases, you might have several pages served by the same node. In such cases, the exact meaning of a "page" is important.

The definition of a 'page' as referred by DRUPAL_CACHE_PER_PAGE is the same definition as found in function request_uri(). See drupal_render_cid_parts()