Title: hamecache
Author: Fumiki Takahashi
Published: <strong>31. maj, 2019</strong>
Last modified: 31. maj, 2019

---

Søg plugins

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

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/hamecache/assets/icon-256x256.png?rev=2098366)

# hamecache

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

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

 * [Detaljer](https://da.wordpress.org/plugins/hamecache/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/hamecache/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/hamecache/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/hamecache/#developers)

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

## Beskrivelse

[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.

## Skærmbilleder

[⌊You can purge caches for post from admin bar.⌉⌊You can purge caches for post from
admin bar.⌉[

You can purge caches for post from admin bar.

[⌊Setting screen. Select post types with which page rules are matching.⌉⌊Setting
screen. Select post types with which page rules are matching.⌉[

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 );
    ```

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“hamecache” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere

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

“hamecache” er blevet oversat til 1 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/hamecache/contributors)
for deres bidrag.

[Oversæt “hamecache” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/hamecache)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/hamecache/), tjek [SVN repository](https://plugins.svn.wordpress.org/hamecache/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/hamecache/)
via [RSS](https://plugins.trac.wordpress.org/log/hamecache/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0.0

 * First releaes.

#### 0.9.0

 * First package for plugin repository.

## Meta

 *  Version **1.0.0**
 *  Senest opdateret **7 år siden**
 *  Aktive installationer **30+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **5.2.27**
 *  PHP-version ** 5.6 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/hamecache/) og [Japanese](https://ja.wordpress.org/plugins/hamecache/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/hamecache)
 * Tags
 * [cache](https://da.wordpress.org/plugins/tags/cache/)[cloudflare](https://da.wordpress.org/plugins/tags/cloudflare/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/hamecache/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

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

[Se alle anmeldelser](https://wordpress.org/support/plugin/hamecache/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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