drupal_serve_page_from_cache

function drupal_serve_page_from_cache

drupal_serve_page_from_cache(stdClass $cache)

Sets HTTP headers in preparation for a cached page response.

The headers allow as much as possible in proxies and browsers without any particular knowledge about the pages. Modules can override these headers using drupal_add_http_header().

If the request is conditional (using If-Modified-Since and If-None-Match), and the conditions match those currently in the cache, a 304 Not Modified response is sent.

File

includes/bootstrap.inc, line 1523
Functions that need to be loaded on every Drupal request.

Code

function