Title: API Cache Pro
Author: Hubbard Labs
Published: <strong>ছেপ্টেম্বৰ 30, 2019</strong>
Last modified: এপ্ৰিল 18, 2022

---

প্লাগিনৰ সন্ধান কৰক

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/api-cache-pro.svg)

# API Cache Pro

 [Hubbard Labs](https://profiles.wordpress.org/hubbardlabs/)-ৰ দ্বাৰা

[ডাউনল’ড কৰক](https://downloads.wordpress.org/plugin/api-cache-pro.zip)

 * [বিশদ বিৱৰণ](https://as.wordpress.org/plugins/api-cache-pro/#description)
 * [পৰ্য্যালোচনা](https://as.wordpress.org/plugins/api-cache-pro/#reviews)
 *  [ইনষ্টলেশ্যন](https://as.wordpress.org/plugins/api-cache-pro/#installation)
 * [বিকাশ](https://as.wordpress.org/plugins/api-cache-pro/#developers)

 [সাহায্য](https://wordpress.org/support/plugin/api-cache-pro/)

## বৰ্ণনা

This plugin enables caching for the WordPress REST API to improve performance. Once
enabled you can modify the basic settings via the Customizer.

#### Customizer Options:

 * Disable Cache (Default: Disabled)
 * Set Default Cache Timeout (Default: 300)

### Request Headers

Several Headers are added to all the API Requests. This plugin will also modify 
the Cache-Control header as well. Here is an example of the available custom headers.

    ```
    X-API-CACHE-PRO: Cached
    X-API-CACHE-PRO-EXPIRES: January 20, 2019, 12:39 AM UTC
    X-API-CACHE-PRO-EXPIRES-DIFF: 5 mins
    X-API-CACHE-PRO-KEY: api_cache_pro_78be25416f69cd3a885dcf14017a0691
    ```

 * **X-API-CACHE-PRO** – Displays Cached, or Not Cached.
 * **X-API-CACHE-PRO-EXPIRES** – Displays the date/time the cache is set to expire.
 * **X-API-CACHE-PRO-EXPIRES-DIFF** – Displays the difference from current time 
   to the time cache is set to expire.
 * **X-API-CACHE-PRO-KEY** – Displays the key used for the cache.

This plugin offers several filters so you can disable these headers:

 Filter
 Type Default

 `api_cache_pro_header`
 boolean true

 `api_cache_pro_key_header`
 boolean true

 `api_cache_pro_expires_header`
 boolean true

 `api_cache_pro_expires_diff_header`
 boolean true

 `api_cache_pro_control_header`
 boolean true

 `api_cache_pro_max_age`
 integer Default Timeout or 300 (5 Minutes)

 `api_cache_pro_s_max_age`
 integer Default Timeout or 300 (5 Minutes)

You can use these filters to disable any of the headers. Here is an example to disable
the Key Header.

    ```
    /**
     * Disable API Cache Pro Key Header.
     *
     * @access public
     */
    function disable_api_cache_pro_key_header() {
        return false;
    }
    add_action( 'api_cache_pro_key_header', 'disable_api_cache_pro_key_header' );
    ```

### Clearing Cache

The cache will automatically get cleared if you do any of the following:

 * Disable the Cache
 * Update the Default Cache Timeout Length
 * Update any post, page or custom post type.
 * Deactivate or Uninstall the plugin

You can skip that cache by adding the following param to any request:

    ```
    `cache=disabled<pre><h3>WP-CLI Support</h3>
    ```

_API Cache Pro_ offers wp-cli support to clear cache with the following command:

wp api-cache-pro delete
 `

## ইনষ্টলেশ্যন

 1. Copy the `api-cache-pro` folder into your `wp-content/plugins` folder
 2. Activate the `API Cache Pro` plugin via the plugin admin page

## সঘনাই উত্থাপিত প্ৰশ্ন

FAQ Coming Soon!

## পৰ্য্যালোচনা

এই প্লাগিনৰ বাবে কোনো পৰ্য্যালোচনা নাই।

## অৱদানকাৰী আৰু বিকাশকাৰীসকল

“API Cache Pro” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান আগবঢ়াইছে।

অৱদানকাৰীসকল

 *   [ Hubbard Labs ](https://profiles.wordpress.org/hubbardlabs/)
 *   [ Brandon Hubbard ](https://profiles.wordpress.org/bhubbard/)

[আপোনাৰ ভাষাত “API Cache Pro” অনুবাদ কৰক।](https://translate.wordpress.org/projects/wp-plugins/api-cache-pro)

### বিকাশৰ প্ৰতি আগ্ৰহী?

[ক’ড ব্ৰাউজ কৰক](https://plugins.trac.wordpress.org/browser/api-cache-pro/), [SVN ৰিপজিটৰী](https://plugins.svn.wordpress.org/api-cache-pro/)
চাওক নাইবা [RSS](https://plugins.trac.wordpress.org/log/api-cache-pro/?limit=100&mode=stop_on_copy&format=rss)-
দ্বাৰা [বিকাশৰ পঞ্জী](https://plugins.trac.wordpress.org/log/api-cache-pro/) ছাবস্ক্ৰাইব
কৰক।

## সলনি-পঞ্জী

Please see [CHANGELOG.MD](https://as.wordpress.org/plugins/api-cache-pro/CHANGELOG.md?output_format=md)

## মেটা

 *  **0.0.4** সংস্কৰণ
 *  **4 বছৰ আগত** শেষবাৰ আপডে’ট হৈছিল
 *  সক্ৰিয় ইনষ্টলেশ্যন **10টাতকৈ কম**
 *  WordPress-ৰ সংস্কৰণ ** 5.0 বা তাতকৈ ওপৰৰ **
 *  ইমানলৈকে পৰীক্ষা কৰা হৈছে **5.2.24**
 *  PHP-ৰ সংস্কৰণ ** 7.0 বা তাতকৈ ওপৰৰ **
 *  ভাষা
 * [English (US)](https://wordpress.org/plugins/api-cache-pro/)
 * [api](https://as.wordpress.org/plugins/tags/api/)[cache](https://as.wordpress.org/plugins/tags/cache/)
 *  টেগবোৰ
 *  [উচ্চখাপৰ ভিউ](https://as.wordpress.org/plugins/api-cache-pro/advanced/)

## ৰে’টিংবোৰ

এতিয়ালৈ কোনো পৰ্য্যালোচনা দাখিল কৰা হোৱা নাই।

[Your review](https://wordpress.org/support/plugin/api-cache-pro/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/api-cache-pro/reviews/)

## অৱদানকাৰীসকল

 *   [ Hubbard Labs ](https://profiles.wordpress.org/hubbardlabs/)
 *   [ Brandon Hubbard ](https://profiles.wordpress.org/bhubbard/)

## সাহায্য

কিবা ক’বলগীয়া আছে? সহায় লাগে?

 [সাহায্যৰ ফ’ৰাম চাওক](https://wordpress.org/support/plugin/api-cache-pro/)

## দান কৰক

আপুনি এই প্লাগিনৰ উন্নতিৰ প্ৰতি সাহায্য আগবঢ়াব বিচাৰেনে?

 [ এই প্লাগিনক অনুদান দিয়ক ](https://hubbardlabs.com)