Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

hamecache

Mô tả

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

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.

Ảnh màn hình

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

Cài đặt

  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
  4. Select URL to be purged. Post type, top page, extra pages, and so on.

Hỏi đáp

How can I contribute?

We host our sources on GitHub, so please feel free to send PR or to make 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 );

Đánh giá

There are no reviews for this plugin.

Người đóng góp & Lập trình viên

“hamecache” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“hamecache” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “hamecache” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.0.0

  • First releaes.

0.9.0

  • First package for plugin repository.