Documentation

AppCacheManifest

AppCacheManifest class to handle the manifest HTML5 Application Cache.

Queries the namespace:

Method Description Available from version
setReceivedCacheParams Sets the received cache parameters.
setExcludeImagePatterns Returns array of image patterns.
setEnabled Enables Application Cache on page.
getReceivedCacheParams Gets cache parameters.
getManifestContent Returns manifest contents.
getManifestCheckFile Gets file path to receive manifest contents.
getFilesFromContent Parses the retrieved content; finds css, js and image files and returns an array of files.
getExcludeImagePatterns Gets array of patterns to exclude unused images from manifest file.
setManifestCheckFile Sets user file path to get manifest contents.


© «Bitrix24», 2001-2022
Up