Full Site Cache for CloudFront

This plugin can invalidate the cache automatically if you are using full site CDN.

Author:ZE3kr (profile at wordpress.org)
WordPress version required:4.4
WordPress version tested:4.7.17
Plugin version:0.0.2
Added to WordPress repository:29-01-2017
Last updated:27-02-2017
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:1 182
Active installs:10+
plugin download
Click to start download

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.

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.

ChangeLog