Documentation

CPageCache class

CPageCache class is used to handle HTML caching for executed script result.

Class methods

Method Description Available from version
StartDataCache Initializes the caching mechanism and starts the buffered HTML output, or emits the cache content.
EndDataCache Saves buffered HTML in cache file.
InitCache Initializes the caching mechanism.
Output Emits the cached HTML result.
IsCacheExpired Checks if cache has expired.

See Also

  • CPHPCache class


  • © «Bitrix24», 2001-2024
    Up