Title: Full Site Cache for CloudFront
Author: ze3kr
Published: <strong>29 januari 2017</strong>
Last modified: 27 februari 2017

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

![](https://s.w.org/plugins/geopattern-icon/full-site-cache-cf.svg)

# Full Site Cache for CloudFront

 Door [ze3kr](https://profiles.wordpress.org/ze3kr/)

[Download](https://downloads.wordpress.org/plugin/full-site-cache-cf.0.0.2.zip)

 * [Details](https://nl.wordpress.org/plugins/full-site-cache-cf/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/full-site-cache-cf/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/full-site-cache-cf/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/full-site-cache-cf/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/full-site-cache-cf/)

## Beschrijving

If you blog are using CloudFront on the main WordPress domain (e.g. www.example.
com), and you want to cache HTML page for not logged in user. You could set a long“
Default TTL” for these HTML pages if the cache could invalidate automatically.

#### Invalidation behaviors

 * Invalidate the whole cache when a new post published
 * Invalidate a post page when a post updated
 * Invalidate a post page if have any comment has changed on that page
 * Each invalidation has a minimum interval of 10 minutes

#### Requirements

 * PHP 5.4+
 * WordPress 4.4+
 * A CloudFront account and AWS Access Key and Secret Key to access [CloudFront distribution](https://tlo.xyz/create-cloudfront-distribution-for-wordpress/).

#### Recommendations

 * Offload CSS, JS and medias file to another domain with a different distribution,
   because this plugin will invalidate the whole cache when updating the post.

## Installatie

First, you need to [use CloudFront on your WordPress site](https://tlo.xyz/create-cloudfront-distribution-for-wordpress/).

Add the configuration code to your `wp-config.php` file **above** the line reading`/*
That’s all, stop editing! Happy blogging. */`.

Example configuration:

    ```
    $tlo_cf_id[1] = 'DISTRIBUTION_ID';
    define( 'AWS_ACCESS_KEY_ID', '********************' );
    define( 'AWS_SECRET_ACCESS_KEY', '****************************************' );
    $wp_rich_edit = true; // CloudFront will remove user-agent header, so if you want to have Visual Editor, keep this line.
    ```

This plugin supports multisite, just replace 1 in the `$tlo_cf_id[]` to the blog
id.

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“Full Site Cache for CloudFront” is open source software. De volgende personen hebben
bijgedragen aan deze plugin.

Bijdragers

 *   [ ze3kr ](https://profiles.wordpress.org/ze3kr/)

[Vertaal “Full Site Cache for CloudFront” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/full-site-cache-cf)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/full-site-cache-cf/),
haal de [SVN repository](https://plugins.svn.wordpress.org/full-site-cache-cf/) 
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/full-site-cache-cf/)
via [RSS](https://plugins.trac.wordpress.org/log/full-site-cache-cf/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.0.2

 * Fixed for comment approval.
 * Changed the invalidate behavior.

#### 0.0.1

Published the first version

## Meta

 *  Versie **0.0.2**
 *  Laatst geüpdatet **10 jaar geleden**
 *  Actieve installaties **10+**
 *  WordPress versie ** 4.4 of nieuwer **
 *  Getest t/m **4.7.40**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/full-site-cache-cf/)
 * Tags
 * [cache](https://nl.wordpress.org/plugins/tags/cache/)[cloudfront](https://nl.wordpress.org/plugins/tags/cloudfront/)
   [Optimize](https://nl.wordpress.org/plugins/tags/optimize/)[performance](https://nl.wordpress.org/plugins/tags/performance/)
   [speed](https://nl.wordpress.org/plugins/tags/speed/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/full-site-cache-cf/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

[Je beoordeling](https://wordpress.org/support/plugin/full-site-cache-cf/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/full-site-cache-cf/reviews/)

## Bijdragers

 *   [ ze3kr ](https://profiles.wordpress.org/ze3kr/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/full-site-cache-cf/)

## Doneren

Wil je de groei van deze plugin ondersteunen?

 [ Doneer aan deze plugin ](https://tlo.xyz/donate/)