Change record status: 
Project: 
Introduced in branch: 
8.0.x
Introduced in version: 
8.0.0-BETA5
Description: 

The procedural functions related to the internal page cache in bootstrap.inc, common.inc and DrupalKernel have been converted into a PageCache stack middleware. This allows contrib and custom modules to completely swap out the internal page cache implementation or even remove it entirely.

  • drupal_page_cache_get_cid()
  • drupal_page_get_cache()
  • drupal_page_set_cache()
  • drupal_serve_page_from_cache()
  • DrupalKernel::handlePageCache()

These functions are not commonly used by contrib / custom modules. Notable exceptions are a) modules wishing to swap out the internal page cache like Boost and Authcache and b) modules which (ab-)use the internal page cache for their own purposes like e.g. Administration menu. The former kind of modules should simply ship their own implementation/subclass of the middleware while the latter can be fixed by either using their own cache bin or supplying their own page cache policy rule sets.

Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done