Zend Page Cache - Configuration Directives

Configuration Directives Summary

Directive Type Modification Scope Description
zend_pagecache.enable boolean PHP_INI_SYSTEM Enables the Zend Page Cache extension
zend_pagecache.save_path string PHP_INI_SYSTEM Location where the cache files are saved. This must point to an existing location.
zend_pagecache.dir_depth integer PHP_INI_SYSTEM Depth of directory tree in which cached files are stored
zend_pagecache.log_verbosity_level integer PHP_INI_SYSTEM The log verbosity level [0-5]
zend_pagecache.dependencies_file string PHP_INI_SYSTEM The location of the configuration file in which caching rules are stored
zend_pagecache.compression_enable boolean PHP_INI_SYSTEM Enables file compression of cached output
zend_pagecache.clean_frequency integer PHP_INI_SYSTEM How often expired entries are removed from the cache. The cleaning frequency is configured in seconds
zend_pagecache.log_rotation_size integer PHP_INI_ALL The maximum size of the log file before it is rotated

Configuration Directive Details

zend_pagecache.enable

Enables the Zend Page Cache extension

Type: boolean

Default Value: 1

Available since version 4.0

zend_pagecache.save_path

Location where the cache files are saved. This must point to an existing location.

Type: string

Default Value: pagecache

Available since version 4.0

zend_pagecache.dir_depth

Depth of directory tree in which cached files are stored

Type: integer

Default Value: 2

Available since version 4.0

zend_pagecache.log_verbosity_level

The extension's log verbosity level. Level 1 includes very important information messages, errors and warnings. Level 2 displays notices. Greater levels (up to 5) are reserved for debug purposes

Type: integer

Default Value: 2

Available since version 4.0

zend_pagecache.dependencies_file

The location of the configuration file in which caching rules are stored

Type: string

Default Value: pagecache_rules.xml

Available since version 4.0

zend_pagecache.compression_enable

Enables file compression of cached output. Applicable only on cached outputs larger than 1k.

Type: boolean

Default Value: 1

Available since version 4.0

zend_pagecache.clean_frequency

How often expired entries are removed from the cache. The cleaning frequency is configured in seconds

Type: integer

Units: seconds

Default Value: 300

Available since version 4.0

zend_pagecache.log_rotation_size

The maximum size of the log file before it is rotated

Type: integer

Units: MBytes

Default Value: 10

Available since version 4.0