22.9.7. Mysqlnd query result cache plugin (mysqlnd_qc)

22.9.7.1. Key Features
22.9.7.2. Limitations
22.9.7.3. On the name
22.9.7.4. Quickstart and Examples
22.9.7.5. Installing/Configuring
22.9.7.6. Predefined Constants
22.9.7.7. mysqlnd_qc Functions
22.9.7.8. Change History

Copyright 1997-2012 the PHP Documentation Group.

The mysqlnd query result cache plugin adds easy to use client-side query caching to all PHP MySQL extensions using mysqlnd.

As of version PHP 5.3.3 the MySQL native driver for PHP ( mysqlnd) features an internal plugin C API. C plugins, such as the query cache plugin, can extend the functionality of mysqlnd.

Mysqlnd plugins such as the query cache plugin operate transparent from a user perspective. The cache plugin supports all PHP applications and all PHP MySQL extensions ( mysqli, mysql, PDO_MYSQL). It does not change existing APIs.

No significant application changes are required to cache a query. The cache has two operation modes. It will either cache all queries (not recommended) or only those queries marked with a certain SQL hint (recommended).