Title: hamecache
Author: Fumiki Takahashi
Published: <strong>5 сар 31, 2019</strong>
Last modified: 5 сар 31, 2019

---

Search plugins

![](https://ps.w.org/hamecache/assets/banner-772x250.jpg?rev=2098366)

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://ps.w.org/hamecache/assets/icon-256x256.png?rev=2098366)

# hamecache

 By [Fumiki Takahashi](https://profiles.wordpress.org/takahashi_fumiki/)

[Download](https://downloads.wordpress.org/plugin/hamecache.1.0.0.zip)

 * [Details](https://mn.wordpress.org/plugins/hamecache/#description)
 * [Reviews](https://mn.wordpress.org/plugins/hamecache/#reviews)
 *  [Installation](https://mn.wordpress.org/plugins/hamecache/#installation)
 * [Development](https://mn.wordpress.org/plugins/hamecache/#developers)

 [Support](https://wordpress.org/support/plugin/hamecache/)

## Description

[CloudFlare](https://cloudflare.com) is a popular CDN service. They caches static
files like `.jpg`, `.css` or `.html`, but they doesn’t cache dynamic pages generated
by WordPress without [Page Rule](https://www.cloudflare.com/features-page-rules/must-use-page-rules/).

Once Page Rules are set, for exmple, `https://examle.com/article/*`, every single
page will be cached(of course, your permalink structure should be like `https://
example.com/article/2019/01/01/POST_ID`).

This plugin **hamecache** provides cache control feature. If you update your article,
hamecache automatically flush related caches on cloudflare edge location.

## Screenshots

 * [[
 * You can purge caches for post from admin bar.
 * [[
 * Setting screen. Select post types with which page rules are matching.

## Installation

 1. Upload `hamecache` directory to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to ‘Setting > Cache Setting’ and enter your email address and API key which 
    you can get your profile page on [cloudflare](https://dash.cloudflare.com)
 4. Select URL to be purged. Post type, top page, extra pages, and so on.

## FAQ

  How can I contribute?

We host our sources on [GitHub](https://github.com/hametuha/hamecache), so please
feel free to send [PR](https://github.com/hametuha/hamecache/pulls) or to make [issues](https://github.com/hametuha/hamecache/issues).

  I have custom pages. How can I purge these URLs?

You can use `hamecache_urls_to_be_purged` filter hook for them.

    ```
    add_filter( 'hamecache_urls_to_be_purged', function( $urls, $post ) {
        // Add your custom URL.
        $urls[] = your_custom_link( $post );
        return $urls;
    }, 10, 2 );
    ```

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“hamecache” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Fumiki Takahashi ](https://profiles.wordpress.org/takahashi_fumiki/)
 *   [ Hametuha INC. ](https://profiles.wordpress.org/hametuha/)

“hamecache” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/hamecache/contributors)
for their contributions.

[Translate “hamecache” into your language.](https://translate.wordpress.org/projects/wp-plugins/hamecache)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/hamecache/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/hamecache/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/hamecache/) by [RSS](https://plugins.trac.wordpress.org/log/hamecache/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First releaes.

#### 0.9.0

 * First package for plugin repository.

## Meta

 *  Version **1.0.0**
 *  Last updated **7 жил ago**
 *  Active installations **30+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **5.2.24**
 *  PHP version ** 5.6 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/hamecache/) ба [Japanese](https://ja.wordpress.org/plugins/hamecache/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/hamecache)
 * Tags
 * [cache](https://mn.wordpress.org/plugins/tags/cache/)[cloudflare](https://mn.wordpress.org/plugins/tags/cloudflare/)
 *  [Advanced View](https://mn.wordpress.org/plugins/hamecache/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/hamecache/reviews/)

## Contributors

 *   [ Fumiki Takahashi ](https://profiles.wordpress.org/takahashi_fumiki/)
 *   [ Hametuha INC. ](https://profiles.wordpress.org/hametuha/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/hamecache/)