API Reference Guide > Zend Page Cache - PHP API

Zend Page Cache - PHP API

Table of Contents

PHP Functions

page_cache_disable_caching

Disables output caching for the current request. This overrides any caching settings that are configured for the current request.

Available since version 4.0

Description

void page_cache_disable_caching (void)

page_cache_disable_compression

Does not allow the cache to perform compression on the output of the current request. This overrides any compression settings that are configured for this request.

Available since version 4.0

Description

void page_cache_disable_compression (void)

page_cache_remove_cached_contents

Clears cached contents for all requests that match a specific URL or regular expression.

Important!

To function properly, the URL parameter must match the URL or REGEX included in the caching rule,. Likewise, note that this API clears all cached versions.

Available since version 4.0

Description

void page_cache_remove_cached_contents (string $URL)

Parameters
URL
The URL or regular expression

page_cache_remove_all_cached_contents

Clears all cached contents

Available since version 4.0

Description

void page_cache_remove_all_cached_contents (void)

page_cache_remove_cached_contents_by_uri

Clears cached contents that were created by a specific URI in a specific rule. The rule must consist of one split by rule - the request.

Available since version 6.1

Description

void page_cache_remove_cached_contents_by_uri (string $name, string $URL)

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.