Bitrix Site Manager

CPHPCache

CPHPCache is the class used to cache PHP variables and HTML results of script execution.

Methods

Method Description
StartDataCache Initializes the caching mechanism and starts the buffered HTML output, or emits the cache content.
EndDataCache Stores the buffered HTML output and PHP variables to the cache file.
InitCache Initializes the caching mechanism.
GetVars Returns PHP variables stored in cache.
Output Emits the cached HTML result.
IsCacheExpired Checks whether the cache is expired or not.

See also

  • Caching
  • CPageCache class
  • Special parameters