Disable Drupal's page cache for some pages

Public

Disable Drupal's page cache for some pages

Get raw version
php
  1. $GLOBALS['conf']['cache'] = FALSE;
  2.  
  3. //You can also call in hook_boot
  4.  
  5. function mymodule_boot() {
  6. $GLOBALS['conf']['cache'] = FALSE;
  7. }