Title: Purge Cache for CloudFlare
Author: Milan Dinić
Published: <strong>4 lapkričio, 2015</strong>
Last modified: 6 gegužės, 2016

---

Ieškoti įskiepiuose

Šis įskiepis **nebuvo išbandytas su 3 vėliausiomis WordPress versijomis**. Jis tikriausiai
nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

![](https://s.w.org/plugins/geopattern-icon/purge-cache-for-cloudflare.svg)

# Purge Cache for CloudFlare

 Autorius [Milan Dinić](https://profiles.wordpress.org/dimadin/)

[Parsisiųsti](https://downloads.wordpress.org/plugin/purge-cache-for-cloudflare.1.2.zip)

 * [Informacija](https://lt.wordpress.org/plugins/purge-cache-for-cloudflare/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/purge-cache-for-cloudflare/#reviews)
 * [Kūrimas](https://lt.wordpress.org/plugins/purge-cache-for-cloudflare/#developers)

 [Pagalba](https://wordpress.org/support/plugin/purge-cache-for-cloudflare/)

## Aprašymas

[Plugin homepage](http://blog.milandinic.com/wordpress/plugins/purge-cache-for-cloudflare/)
| [Plugin author](http://blog.milandinic.com/) | **[Premium Version](https://shop.milandinic.com/downloads/purge-cache-for-cloudflare-plus/)**
| [Donate](http://blog.milandinic.com/donate/)

Purge Cache for CloudFlare is a simple plugin that uses CloudFlare® API to purge
cache of full HTML pages when a new post is made.

This free version is only indended for basic usage. If you want to use it in full
capacity, consider buying [premium version](https://shop.milandinic.com/downloads/purge-cache-for-cloudflare-plus/).

It works by purging front page, post’s page, and main RSS feed. This should work
for most sites. However, there are of filters, actions, and methods that provide
full customizability and extensibility.

Note that this plugin also sets cache to 30 minutes for all frontend pages. This
means that if you use default option in CloudFlare, it tells them to revalidate 
page cache after that time, so it means that cache for any page expires on CloudFlare
servers after that time.

You can change this limits by using filters from you code. If you want user interface
in your admin, use [premium version](https://shop.milandinic.com/downloads/purge-cache-for-cloudflare-plus/).

You should create new CloudFlare page rules to set proper caching. It is your responsibility
to set this properly.

First page rule should exclude certain paths from caching. Recommended value for
this is `wp-`. This excludes admin pages and default `.php` pages. Example of URL
pattern: `*example.com/*wp-*` This value can also set via filter or via admin in
[premium version](https://shop.milandinic.com/downloads/purge-cache-for-cloudflare-plus/).

Second page rule should sets caching. You need to set „Custom caching” to „Cache
everything”. Recommended value for „Edge cache expire TTL” is default, „Respect 
all existing headers” which means that CloudFlare revalidates after 30 minutes, 
while for „Browser cache expire TTL” is also 30 minutes. Example of URL pattern:`*
example.com/*`

This plugin is on [GitHub](https://github.com/dimadin/purge-cache-for-cloudflare)
too.

Purge Cache for CloudFlare is in no way affiliated with CloudFlare. It is only using
CloudFlare API to purge page cache of certain URLs.
 CloudFlare is registered trademark
of CloudFlare, Inc.

## Ekrano nuotraukos

 * [[
 * Purge Cache for CloudFlare settings

## Atsiliepimai

Įskiepis neturi atsiliepimų.

## Programuotojai ir komandos nariai

“Purge Cache for CloudFlare” yra atviro kodo programa. Prie jos sukūrimo prisidėję
žmonės surašyti toliau.

Autoriai

 *   [ Milan Dinić ](https://profiles.wordpress.org/dimadin/)

Įskiepis “Purge Cache for CloudFlare” išverstas į 1 kalbą. Dėkojame [vertėjams](https://translate.wordpress.org/projects/wp-plugins/purge-cache-for-cloudflare/contributors)
už jų darbą.

[Išverskite “Purge Cache for CloudFlare” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/purge-cache-for-cloudflare)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/purge-cache-for-cloudflare/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/purge-cache-for-cloudflare/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/purge-cache-for-cloudflare/)
per [RSS](https://plugins.trac.wordpress.org/log/purge-cache-for-cloudflare/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

#### 1.2

 * Released on 6th May 2016
 * Don’t cache requests for search
 * Minor cleanup

#### 1.1

 * Released on 15th December 2015
 * Sync `WP_Temporary` with WordPress 4.4

#### 1.0

 * Released on 4th November 2015
 * Initial release.

## Metainformacija

 *  Version **1.2**
 *  Atnaujinta **prieš 10 metų**
 *  Aktyvių instaliacijų **10+**
 *  WordPress versija ** 3.7 ar naujesnė **
 *  Ištestuota iki **4.5.33**
 *  Kalbos
 * [English (US)](https://wordpress.org/plugins/purge-cache-for-cloudflare/) ir 
   [Serbian](https://sr.wordpress.org/plugins/purge-cache-for-cloudflare/).
 *  [Išversti į savo kalbą](https://translate.wordpress.org/projects/wp-plugins/purge-cache-for-cloudflare)
 * Žymos
 * [cache](https://lt.wordpress.org/plugins/tags/cache/)[cloudflare](https://lt.wordpress.org/plugins/tags/cloudflare/)
   [page cache](https://lt.wordpress.org/plugins/tags/page-cache/)
 *  [Daugiau](https://lt.wordpress.org/plugins/purge-cache-for-cloudflare/advanced/)

## Įvertinimai

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/purge-cache-for-cloudflare/reviews/)

## Autoriai

 *   [ Milan Dinić ](https://profiles.wordpress.org/dimadin/)

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/purge-cache-for-cloudflare/)

## Paremkite

Galbūt norite padėti plėtoti šį įskiepį?

 [ Paremti įskiepio kūrimą ](http://blog.milandinic.com/donate/)