Title: Full Site Cache for CloudFront
Author: ze3kr
Published: <strong>जनवरी 29, 2017</strong>
Last modified: फेब्रुअरी 27, 2017

---

प्लगिनहरू खोज्नुहोस्

यो प्लगिन **वर्डप्रेसका ३ प्रमुख नवीनतम रिलीजहरूसँग परीक्षण गरिएको छैन**। यो अब 
सम्भवतः व्यवस्थित वा समर्थन नभएको हुन सक्छ र वर्डप्रेसका नयाँ संस्करणहरूमा प्रयोग
गर्दा अनुकूलता सम्बन्धी समस्या हुन सक्छ।

![](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://ne.wordpress.org/plugins/full-site-cache-cf/#description)
 * [समीक्षाहरू](https://ne.wordpress.org/plugins/full-site-cache-cf/#reviews)
 *  [स्थापना](https://ne.wordpress.org/plugins/full-site-cache-cf/#installation)
 * [विकास](https://ne.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/log/full-site-cache-cf/?limit=100&mode=stop_on_copy&format=rss)
द्वारा [कोड ब्राउज गर्नुहोस्](https://plugins.trac.wordpress.org/browser/full-site-cache-cf/),
[एसभीएन रिपजिटरी](https://plugins.svn.wordpress.org/full-site-cache-cf/) हेर्नुहोस्,
वा [विकास लग](https://plugins.trac.wordpress.org/log/full-site-cache-cf/) को सदस्यता
लिनुहोस्।

## चेन्जलग

#### 0.0.2

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

#### 0.0.1

Published the first version

## मेटा

 *  संस्करण **0.0.2**
 *  पछिल्लो अपडेट **10 वर्ष अघि**
 *  सक्रिय स्थापना **10+**
 *  वर्डप्रेस संस्करण ** 4.4 वा उच्च **
 *  जाँच गरिएको **4.7.37**
 *  भाषा
 * [English (US)](https://wordpress.org/plugins/full-site-cache-cf/)
 * ट्यागहरू
 * [cache](https://ne.wordpress.org/plugins/tags/cache/)[cloudfront](https://ne.wordpress.org/plugins/tags/cloudfront/)
   [Optimize](https://ne.wordpress.org/plugins/tags/optimize/)[performance](https://ne.wordpress.org/plugins/tags/performance/)
   [speed](https://ne.wordpress.org/plugins/tags/speed/)
 *  [उन्नत दृश्य](https://ne.wordpress.org/plugins/full-site-cache-cf/advanced/)

## रेटिङ्गहरू

अहिलेसम्म कुनै समीक्षा पेस गरिएको छैन।

[तपाईँको समीक्षा](https://wordpress.org/support/plugin/full-site-cache-cf/reviews/#new-post)

[सबै समीक्षाहरू हेर्नुहोस्](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/)