-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
37 lines (25 loc) · 1.33 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
=== Non Cache Public Post Preview ===
Contributors: hnle
Donate link: https://hinaloe.net/
Tags: public, post, preview, posts, custom post types, draft, cache, cdn, cloudfront, cloudflare, proxy cache, nginx
Requires at least: 3.7
Tested up to: 4.8
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Disable cache when show public post preview post
== Description ==
> You no longer have to use this plugin because it was merged to [PPP plugin](https://ja.wordpress.org/plugins/public-post-preview/) at v2.6.0.
This plugin send `Cache-Control: no-cache, must-revalidate` header when show [public-post-preview](https://wordpress.org/plugins/public-post-preview/) post.
In other word, that make skip cache of CDN (like CloudFlare, CloudFront... and other), or Proxy-Cache (Like Nginx).
So, outside people always can see newest draft, and there is no need extra time to close public draft.
This plugin needs PHP 5.3+
Note: If you're using CloudFront, you should also use [C3 Cloudfront Cache Controller](https://wordpress.org/plugins/c3-cloudfront-clear-cache/)
== Installation ==
1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
== Changelog ==
= 1.0.1 =
* Use built in function for disable cache.
= 1.0 =
* First release