Zend Page Cache - Configuration Directives

This topic lists all the configuration directives for Zend Page Cache.

Configuration Directives Summary

The table below is a summary of all the Zend Page Cache configuration directives, and displays the directive name, its default value, and a description:

Directive

Default Value

Description

zend_pagecache.enable

1

Enables the Zend Page Cache extension.

zend_pagecache.save_path

pagecache

Location for saved cache files. This must point to an existing location.

zend_pagecache.dir_depth

2

Depth of directory tree in which cached files are stored.

zend_pagecache.log_verbosity_level

2

The log verbosity level [0-5].

zend_pagecache.dependencies_file

pagecache_rules.xml

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

zend_pagecache.compression_enable

1

Enables file compression of cached output.

zend_pagecache.clean_frequency

300

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

zend_pagecache.log_rotation_size

10

The maximum size of the log file before it is rotated.

Configuration Directives Details

The list below contains information for all the available configuration directives for Zend Page Cache: their description, type, units, default value, modification scope, and the Zend Server version they became available in.

zend_pagecache.enable

Enables the Zend Page Cache extension.

Default Value: 1

Type: boolean

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_pagecache.save_path

Location for saved cache files. This must point to an existing location.

Default Value: pagecache

Type: string

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_pagecache.dir_depth

Depth of directory tree in which cached files are stored.

Default Value: 2

Type: int

Modification Scope: ZEND_INI_SYSTEM

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.

Default Value: 2

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_pagecache.dependencies_file

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

Default Value: pagecache_rules.xml

Type: string

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_pagecache.compression_enable

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

Default Value: 1

Type: boolean

Modification Scope: ZEND_INI_SYSTEM

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.

Default Value: 300

Units: seconds

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 4.0

zend_pagecache.log_rotation_size

The maximum size of the log file before it is rotated.

Default Value: 10

Units: MBytes

Type: int

Modification Scope: ZEND_INI_ALL

Available Since Version: 4.0