Title: Full Site Cache for CloudFront
Author: ze3kr
Published: <strong>29. јануар 2017.</strong>
Last modified: 27. фебруар 2017.

---

Претражи додатке

Овај додатак **није испробан са последња 3 главна издања Вордпреса**.Можда се више
не одржава или подржава и можда има грешке са усклађеношћу са новијим издањима Вордреса.

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

# Full Site Cache for CloudFront

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

[Преузимање](https://downloads.wordpress.org/plugin/full-site-cache-cf.0.0.2.zip)

 * [Детаљи](https://sr.wordpress.org/plugins/full-site-cache-cf/#description)
 * [Прегледи](https://sr.wordpress.org/plugins/full-site-cache-cf/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/full-site-cache-cf/#installation)
 * [Изградња](https://sr.wordpress.org/plugins/full-site-cache-cf/#developers)

 [Подршка](https://wordpress.org/support/plugin/full-site-cache-cf/)

## Опис

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.

## Постављање

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.

## Прегледи

Нема рецензија за овај додатак.

## Сарадници и градитељи

„Full Site Cache for CloudFront“ је софтвер отвореног кода. Следећи људи су допринели
овом додатку.

Сарадници

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

[Преведите „Full Site Cache for CloudFront“ на свој језик.](https://translate.wordpress.org/projects/wp-plugins/full-site-cache-cf)

### Заинтересовани сте за градњу?

[Прегледајте код](https://plugins.trac.wordpress.org/browser/full-site-cache-cf/),
проверите [SVN складиште](https://plugins.svn.wordpress.org/full-site-cache-cf/)
или се пријавите на [белешку градње](https://plugins.trac.wordpress.org/log/full-site-cache-cf/)
преко [RSS-а](https://plugins.trac.wordpress.org/log/full-site-cache-cf/?limit=100&mode=stop_on_copy&format=rss).

## Белешка о изменама

#### 0.0.2

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

#### 0.0.1

Published the first version

## Мета

 *  Version **0.0.2**
 *  Last updated **10 година раније**
 *  Active installations **10+**
 *  WordPress version ** 4.4 или новије **
 *  Tested up to **4.7.37**
 *  Language
 * [English (US)](https://wordpress.org/plugins/full-site-cache-cf/)
 * Tags
 * [cache](https://sr.wordpress.org/plugins/tags/cache/)[cloudfront](https://sr.wordpress.org/plugins/tags/cloudfront/)
   [Optimize](https://sr.wordpress.org/plugins/tags/optimize/)[performance](https://sr.wordpress.org/plugins/tags/performance/)
   [speed](https://sr.wordpress.org/plugins/tags/speed/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/full-site-cache-cf/advanced/)

## Оцене

No reviews have been submitted yet.

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

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

## Сарадници

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

## Подршка

Имате нешто да кажете? Потребна вам је помоћ?

 [Види форум подршке](https://wordpress.org/support/plugin/full-site-cache-cf/)

## Донирај

Желите ли да подржите напредак овог додатка?

 [ Донирај овом додатку ](https://tlo.xyz/donate/)