BACK TO DIRECTORY

Full Site Cache for CloudFront

by ze3kr

0.0
(0 ratings)

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.

Plugin Details

Active Installs
10
Total Downloads
1,889
Version
0.0.2
Requires WP
4.4
Requires PHP
Tested Up To
4.7.35
Added
2017-01-29
Last Updated
2017-02-27 5:49am GMT

Ratings

5
0
4
0
3
0
2
0
1
0