# Installation

## Requirements

To use Docket Cache requires minimum:

* PHP 7.2.5
* WordPress 5.4
* Zend OPCache

## WordPress Plugin

1. In your WordPress admin click `Plugins -> Add New` **.**
2. Search plugins **Docket Cache** and click `Install Now`.
3. Click `Activate` or `Network Activate` in Multisite setups.
4. Click **Docket Cache** in the left menu to access the admin interface.

{% hint style="info" %}
Please wait around 5 seconds for Docket Cache ready to cache the objects.
{% endhint %}

## Manual Installation

1. Download the plugin as a [ZIP file](https://github.com/nawawi/docket-cache/archive/master.zip) from GitHub or from [WordPress Plugin Directory](https://wordpress.org/plugins/docket-cache/).
2. In your WordPress admin click `Plugins -> Add New -> Upload Plugin`.
3. Upload the ZIP file and Activate the plugin.
4. Click Activate or Network Activate in Multisite setups.
5. Click Docket Cache in the left menu to access the admin page.

## Via WP-CLI

[`WP-CLI`](http://wp-cli.org) is the official command-line interface for WordPress. You can install Docket Cache using the `wp` command like this:

```
wp plugin install docket-cache --activate
```

## Via Composer

The plugin is available as [Composer package](https://packagist.org/packages/nawawi/docket-cache) and can be installed via Composer from the root of your WordPress installation.

```
composer create-project -s dev --prefer-dist nawawi/docket-cache wp-content/plugins/docket-cache
```

## Via Git

Go to your WordPress plugins folder `cd wp-content/plugins`

```
git clone https://github.com/nawawi/docket-cache
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.docketcache.com/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
