Changeset 1463786
- Timestamp:
- 07/30/2016 10:48:51 AM (10 years ago)
- Location:
- full-site-cache-kc
- Files:
-
- 6 edited
- 8 copied
-
tags/2.1.6/readme.txt (modified) (1 diff)
-
tags/2.2.0 (copied) (copied from full-site-cache-kc/trunk)
-
tags/2.2.0/CHANGELOG (copied) (copied from full-site-cache-kc/trunk/CHANGELOG) (1 diff)
-
tags/2.2.0/LICENSE (copied) (copied from full-site-cache-kc/trunk/LICENSE)
-
tags/2.2.0/README.md (copied) (copied from full-site-cache-kc/trunk/README.md) (1 diff)
-
tags/2.2.0/full-site-cache-kc.php (copied) (copied from full-site-cache-kc/trunk/full-site-cache-kc.php) (4 diffs)
-
tags/2.2.0/functions.php (copied) (copied from full-site-cache-kc/trunk/functions.php) (7 diffs)
-
tags/2.2.0/include.php (copied) (copied from full-site-cache-kc/trunk/include.php)
-
tags/2.2.0/readme.txt (copied) (copied from full-site-cache-kc/trunk/readme.txt) (6 diffs)
-
trunk/CHANGELOG (modified) (1 diff)
-
trunk/README.md (modified) (1 diff)
-
trunk/full-site-cache-kc.php (modified) (4 diffs)
-
trunk/functions.php (modified) (7 diffs)
-
trunk/readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
full-site-cache-kc/tags/2.1.6/readme.txt
r1462175 r1463786 5 5 Requires at least: 4.4 6 6 Tested up to: 4.6 7 Stable tag: trunk7 Stable tag: 2.1.6 8 8 License: GNU GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html -
full-site-cache-kc/tags/2.2.0/CHANGELOG
r1462175 r1463786 1 v 2.2.0 (unreleased)1 v 2.2.0 2 2 3 + Use cron job to purge, so now it soesn't has delay to purge! 3 + Use cron job to purge, so now it doesn't has delay to purge! 4 + Add Clear Cache button in settings page. 4 5 5 6 v 2.1.6 -
full-site-cache-kc/tags/2.2.0/README.md
r1459725 r1463786 6 6 7 7 ## Description 8 9 The website of this plugin (also is an example website using this plugin): [keycdn.tlo.one](https://keycdn.tlo.one/) 8 10 9 11 This plugin can help you to use KeyCDN on your WordPress, not only your Media and CSS, but also all HTML page. This plugins can automatically purge the page that need to update, when you publish a page or post. -
full-site-cache-kc/tags/2.2.0/full-site-cache-kc.php
r1459725 r1463786 2 2 /** 3 3 * @package Full Site Cache for KeyCDN 4 * @version 2. 1.64 * @version 2.2.0 5 5 */ 6 6 /* 7 7 Plugin Name: Full Site Cache for KeyCDN 8 Plugin URI: https:// wordpress.org/plugins/full-site-cache-kc/8 Plugin URI: https://keycdn.tlo.one/ 9 9 Description: This plugin allows full site acceleration for WordPress with KeyCDN, which gives you the advantages of free SSL, HTTP/2, GZIP and more. 10 10 Author: ZE3kr 11 Version: 2. 1.611 Version: 2.2.0 12 12 Network: True 13 13 Author URI: https://ze3kr.com/ … … 45 45 } 46 46 47 if((defined(DISABLE_WP_CRON) && DISABLE_WP_CRON) || (isset($fsckeycdn_no_cron) && $fsckeycdn_no_cron)){ 48 define( 'FSKEYCDN_NO_CRON', true ); 49 } 50 47 51 define( 'FSKEYCDN_DIR_NAME', plugin_basename( __FILE__ ) ); 48 52 define( 'FSKEYCDN__FILE__', __FILE__ ); … … 60 64 add_action('fsckeycdn_purge_all_hook', 'fsckeycdn_purge_all'); 61 65 add_action('fsckeycdn_purge_tag_hook', 'fsckeycdn_purge_tag', 10, 1); 62 /* Add rewrite action */63 if(isset($fsckeycdn_x_pull_key) && isset($_SERVER['HTTP_X_PULL']) && $_SERVER['HTTP_X_PULL'] == $fsckeycdn_x_pull_key){64 add_action( 'template_redirect','fsckeycdn_minify_html', 80 );65 } elseif($fsckeycdn_realhost == $fsckeycdn_admin && !strstr($_SERVER['REQUEST_URI'],'/options-general.php')) {66 add_action( 'wp_loaded','fsckeycdn_minify_html_admin', 99 );67 }68 66 if(fsckeycdn_status()){ 69 67 add_action( 'init', 'fsckeycdn_register_publish_hooks', 99 ); … … 78 76 add_action( 'switch_theme', 'fsckeycdn_purge_blog_cron', 91 ); 79 77 add_action( '_core_updated_successfully', 'fsckeycdn_purge_all_cron', 91 ); 78 } 79 /* Add rewrite action */ 80 if(isset($fsckeycdn_x_pull_key) && isset($_SERVER['HTTP_X_PULL']) && $_SERVER['HTTP_X_PULL'] == $fsckeycdn_x_pull_key){ 81 add_action( 'template_redirect','fsckeycdn_minify_html', 80 ); 82 } elseif($fsckeycdn_realhost == $fsckeycdn_admin && !strstr($_SERVER['REQUEST_URI'],'/options-general.php')) { 83 add_action( 'wp_loaded','fsckeycdn_minify_html_admin', 99 ); 80 84 } 81 85 } else { -
full-site-cache-kc/tags/2.2.0/functions.php
r1459725 r1463786 1 1 <?php 2 if ( ! defined( 'ABSPATH' ) ) exit; 3 2 4 function fsckeycdn_id(){ 3 5 /* A function to return settings */ … … 192 194 do_action('ce_clear_cache'); 193 195 } 194 fsckeycdn_purge_tag( $purge ); 195 // wp_clear_scheduled_hook('fsckeycdn_purge_tag_hook'); 196 // wp_schedule_single_event(time(), 'fsckeycdn_purge_tag_hook', [$purge]); 196 if(defined(FSKEYCDN_NO_CRON) && FSKEYCDN_NO_CRON){ 197 fsckeycdn_purge_tag( $purge ); 198 } else { 199 wp_clear_scheduled_hook('fsckeycdn_purge_tag_hook'); 200 wp_schedule_single_event(time(), 'fsckeycdn_purge_tag_hook', [$purge]); 201 } 197 202 } 198 203 } … … 210 215 211 216 function fsckeycdn_purge_id_cron( $post_ID ) { 212 fsckeycdn_purge_id( $post_ID ); 213 // wp_clear_scheduled_hook('fsckeycdn_purge_id_hook'); 214 // wp_schedule_single_event(time(), 'fsckeycdn_purge_id_hook', [$post_ID]); 217 if(defined(FSKEYCDN_NO_CRON) && FSKEYCDN_NO_CRON){ 218 fsckeycdn_purge_id( $post_ID ); 219 } else { 220 wp_clear_scheduled_hook('fsckeycdn_purge_id_hook'); 221 wp_schedule_single_event(time(), 'fsckeycdn_purge_id_hook', [$post_ID]); 222 } 215 223 } 216 224 … … 234 242 235 243 function fsckeycdn_purge_blog_cron() { 236 fsckeycdn_purge_blog(); 237 // wp_clear_scheduled_hook('fsckeycdn_purge_blog_hook'); 238 // wp_schedule_single_event(time(), 'fsckeycdn_purge_blog_hook'); 244 if(defined(FSKEYCDN_NO_CRON) && FSKEYCDN_NO_CRON){ 245 fsckeycdn_purge_blog(); 246 } else { 247 wp_clear_scheduled_hook('fsckeycdn_purge_blog_hook'); 248 wp_schedule_single_event(time(), 'fsckeycdn_purge_blog_hook'); 249 } 239 250 } 240 251 … … 251 262 252 263 function fsckeycdn_purge_all_blog_cron() { 253 fsckeycdn_purge_all_blog(); 254 // wp_clear_scheduled_hook('fsckeycdn_purge_all_blog_hook'); 255 // wp_schedule_single_event(time(), 'fsckeycdn_purge_all_blog_hook'); 256 } 257 //print_r(fsckeycdn_purge_all_blog()); 264 if(defined(FSKEYCDN_NO_CRON) && FSKEYCDN_NO_CRON){ 265 fsckeycdn_purge_all_blog(); 266 } else { 267 wp_clear_scheduled_hook('fsckeycdn_purge_all_blog_hook'); 268 wp_schedule_single_event(time(), 'fsckeycdn_purge_all_blog_hook'); 269 } 270 } 271 258 272 function fsckeycdn_purge_all_blog() { 259 273 // Purge the whole blogs (for multisite Sub-directories install) but static file (CSS, JS, and media). … … 268 282 269 283 function fsckeycdn_purge_all_cron() { 270 fsckeycdn_purge_all(); 271 // wp_clear_scheduled_hook('fsckeycdn_purge_all_hook'); 272 // wp_schedule_single_event(time(), 'fsckeycdn_purge_all_hook'); 284 if(defined(FSKEYCDN_NO_CRON) && FSKEYCDN_NO_CRON){ 285 fsckeycdn_purge_all(); 286 } else { 287 wp_clear_scheduled_hook('fsckeycdn_purge_all_hook'); 288 wp_schedule_single_event(time(), 'fsckeycdn_purge_all_hook'); 289 } 273 290 } 274 291 … … 556 573 </tr> 557 574 </tbody></table> 575 <?php } ?> 576 <a href="<?php echo wp_nonce_url( add_query_arg('_cache', 'clear'), '_cache__clear_nonce'); ?>" class="button button-primary">Clear Cache</a> 577 <?php if(is_super_admin()){ ?> 558 578 <form method="post" action="options-general.php?page=full-site-cache-kc" style="display: inline;"> 559 579 <input type="hidden" name="purge" value="everything" /> 560 <input type="submit" value="Purge Everything" class="button" onclick='javascript:return confirm("Are you sure to Purge Everything? This will also purge the cache include static file (images, CSS, JS, etc.). You can use “Clear Cache” on the admin barinstead.");' />580 <input type="submit" value="Purge Everything" class="button" onclick='javascript:return confirm("Are you sure to Purge Everything? This will also purge the cache include static file (images, CSS, JS, etc.). You can use “Clear Cache” instead.");' /> 561 581 </form> 562 582 <?php if(!$fsckeycdn_wp_config) { ?> -
full-site-cache-kc/tags/2.2.0/readme.txt
r1462175 r1463786 5 5 Requires at least: 4.4 6 6 Tested up to: 4.6 7 Stable tag: trunk7 Stable tag: 2.2.0 8 8 License: GNU GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 16 16 17 17 This plugin can help you to use KeyCDN on your WordPress, not only your Media and CSS, but also all HTML page. It is much faster than other cache plugins because it can cache the content on the [KeyCDN’s Edge Servers](https://www.keycdn.com/network?a=7126), which are close to the end-user. This plugins can automatically purge the page (and also the homepage, archive page, tag page, category page, feed, sitemap) when you publish a page or post. 18 19 Video - install and enable it within 3 minutes: 20 21 [youtube https://www.youtube.com/watch?v=cushugwf4Aw] 22 23 The website of this plugin (also is an example website using this plugin): [keycdn.tlo.one](https://keycdn.tlo.one/) 18 24 19 25 This plugin only cache the content on the KeyCDN’s Edge Servers but not on your origin server, so if you install another cache plugin and use both of them, can improve performance. Now this plugin only works well with <a target="_blank" href="https://wordpress.org/plugins/cache-enabler/">Cache Enabler - WordPress Cache</a>. … … 55 61 56 62 Before use this plugin, you need to have a KeyCDN account. You can [sign up by this link](https://www.keycdn.com/?a=7126), and you can get $10 free credit, that is included 250GB web traffic, it's enough for your test, and can use for a long time (if you don't have too much web traffic). 63 64 Video - install and enable it within 3 minutes: 65 66 [youtube https://www.youtube.com/watch?v=cushugwf4Aw] 57 67 58 68 Put the folder `full-site-cache-kc` in your server, to `wp-content/plugins/full-site-cache-kc/`, you can [download it at here](https://wordpress.org/plugins/full-site-cache-kc/). … … 350 360 $fsckeycdn_root_domain_setup = true; 351 361 362 = The cache is not cleared when I updated a post/page = 363 364 If you are using CloudFlare proxy for the `wp-admin` domain, you need [to do some Extra Settings For CloudFlare after you actived KeyCDN](https://wordpress.org/plugins/full-site-cache-kc/other_notes/#Extra-Settings-For-CloudFlare), after that, the cache will be cleared correctly, if it still not work, try below: 365 366 We use cron job to purge for this version to remove delay when purge the cache, you might get some error like the cache is not cleared in some very specific environment, that is because the cron job to your site is broken, you can add this to your `wp-config.php` to use old behavior: 367 368 `$fsckeycdn_no_cron = true;` 369 370 In my test, this error (cron job not work) is only appears when I use CloudFlare’s Universal SSL and using a old operating system that the `curl` doesn’t support ECDSA/ECC SSL. I suggest you to use a up-to-date operating system. 371 352 372 = Why this plugin need to change the Siteurl? = 353 373 … … 371 391 == Changelog == 372 392 373 = 2.2.0 (unreleased) = 374 375 + Use cron job to purge, so now it soesn't has delay to purge! 393 = 2.2.0 = 394 395 + Use cron job to purge, so now it doesn't has delay to purge! 396 + Add Clear Cache button in settings page. 376 397 377 398 = 2.1.6 = … … 446 467 447 468 == Upgrade Notice == 469 470 = 2.2.0 = 471 472 We use cron job to purge for this version to remove delay when purge the cache, you might get some error like the cache is not cleared in some very specific environment, that is because the cron job to your site is broken, you can add this to your `wp-config.php` to use old behavior: 473 474 `$fsckeycdn_no_cron = true;` 475 476 In my test, this error is only appears when I use CloudFlare’s Universal SSL and using a old operating system that the `curl` doesn’t support ECDSA/ECC SSL. I suggest you to use a up-to-date operating system. 448 477 449 478 = 2.1.5.1 = -
full-site-cache-kc/trunk/CHANGELOG
r1462175 r1463786 1 v 2.2.0 (unreleased)1 v 2.2.0 2 2 3 + Use cron job to purge, so now it soesn't has delay to purge! 3 + Use cron job to purge, so now it doesn't has delay to purge! 4 + Add Clear Cache button in settings page. 4 5 5 6 v 2.1.6 -
full-site-cache-kc/trunk/README.md
r1459725 r1463786 6 6 7 7 ## Description 8 9 The website of this plugin (also is an example website using this plugin): [keycdn.tlo.one](https://keycdn.tlo.one/) 8 10 9 11 This plugin can help you to use KeyCDN on your WordPress, not only your Media and CSS, but also all HTML page. This plugins can automatically purge the page that need to update, when you publish a page or post. -
full-site-cache-kc/trunk/full-site-cache-kc.php
r1459725 r1463786 2 2 /** 3 3 * @package Full Site Cache for KeyCDN 4 * @version 2. 1.64 * @version 2.2.0 5 5 */ 6 6 /* 7 7 Plugin Name: Full Site Cache for KeyCDN 8 Plugin URI: https:// wordpress.org/plugins/full-site-cache-kc/8 Plugin URI: https://keycdn.tlo.one/ 9 9 Description: This plugin allows full site acceleration for WordPress with KeyCDN, which gives you the advantages of free SSL, HTTP/2, GZIP and more. 10 10 Author: ZE3kr 11 Version: 2. 1.611 Version: 2.2.0 12 12 Network: True 13 13 Author URI: https://ze3kr.com/ … … 45 45 } 46 46 47 if((defined(DISABLE_WP_CRON) && DISABLE_WP_CRON) || (isset($fsckeycdn_no_cron) && $fsckeycdn_no_cron)){ 48 define( 'FSKEYCDN_NO_CRON', true ); 49 } 50 47 51 define( 'FSKEYCDN_DIR_NAME', plugin_basename( __FILE__ ) ); 48 52 define( 'FSKEYCDN__FILE__', __FILE__ ); … … 60 64 add_action('fsckeycdn_purge_all_hook', 'fsckeycdn_purge_all'); 61 65 add_action('fsckeycdn_purge_tag_hook', 'fsckeycdn_purge_tag', 10, 1); 62 /* Add rewrite action */63 if(isset($fsckeycdn_x_pull_key) && isset($_SERVER['HTTP_X_PULL']) && $_SERVER['HTTP_X_PULL'] == $fsckeycdn_x_pull_key){64 add_action( 'template_redirect','fsckeycdn_minify_html', 80 );65 } elseif($fsckeycdn_realhost == $fsckeycdn_admin && !strstr($_SERVER['REQUEST_URI'],'/options-general.php')) {66 add_action( 'wp_loaded','fsckeycdn_minify_html_admin', 99 );67 }68 66 if(fsckeycdn_status()){ 69 67 add_action( 'init', 'fsckeycdn_register_publish_hooks', 99 ); … … 78 76 add_action( 'switch_theme', 'fsckeycdn_purge_blog_cron', 91 ); 79 77 add_action( '_core_updated_successfully', 'fsckeycdn_purge_all_cron', 91 ); 78 } 79 /* Add rewrite action */ 80 if(isset($fsckeycdn_x_pull_key) && isset($_SERVER['HTTP_X_PULL']) && $_SERVER['HTTP_X_PULL'] == $fsckeycdn_x_pull_key){ 81 add_action( 'template_redirect','fsckeycdn_minify_html', 80 ); 82 } elseif($fsckeycdn_realhost == $fsckeycdn_admin && !strstr($_SERVER['REQUEST_URI'],'/options-general.php')) { 83 add_action( 'wp_loaded','fsckeycdn_minify_html_admin', 99 ); 80 84 } 81 85 } else { -
full-site-cache-kc/trunk/functions.php
r1459725 r1463786 1 1 <?php 2 if ( ! defined( 'ABSPATH' ) ) exit; 3 2 4 function fsckeycdn_id(){ 3 5 /* A function to return settings */ … … 192 194 do_action('ce_clear_cache'); 193 195 } 194 fsckeycdn_purge_tag( $purge ); 195 // wp_clear_scheduled_hook('fsckeycdn_purge_tag_hook'); 196 // wp_schedule_single_event(time(), 'fsckeycdn_purge_tag_hook', [$purge]); 196 if(defined(FSKEYCDN_NO_CRON) && FSKEYCDN_NO_CRON){ 197 fsckeycdn_purge_tag( $purge ); 198 } else { 199 wp_clear_scheduled_hook('fsckeycdn_purge_tag_hook'); 200 wp_schedule_single_event(time(), 'fsckeycdn_purge_tag_hook', [$purge]); 201 } 197 202 } 198 203 } … … 210 215 211 216 function fsckeycdn_purge_id_cron( $post_ID ) { 212 fsckeycdn_purge_id( $post_ID ); 213 // wp_clear_scheduled_hook('fsckeycdn_purge_id_hook'); 214 // wp_schedule_single_event(time(), 'fsckeycdn_purge_id_hook', [$post_ID]); 217 if(defined(FSKEYCDN_NO_CRON) && FSKEYCDN_NO_CRON){ 218 fsckeycdn_purge_id( $post_ID ); 219 } else { 220 wp_clear_scheduled_hook('fsckeycdn_purge_id_hook'); 221 wp_schedule_single_event(time(), 'fsckeycdn_purge_id_hook', [$post_ID]); 222 } 215 223 } 216 224 … … 234 242 235 243 function fsckeycdn_purge_blog_cron() { 236 fsckeycdn_purge_blog(); 237 // wp_clear_scheduled_hook('fsckeycdn_purge_blog_hook'); 238 // wp_schedule_single_event(time(), 'fsckeycdn_purge_blog_hook'); 244 if(defined(FSKEYCDN_NO_CRON) && FSKEYCDN_NO_CRON){ 245 fsckeycdn_purge_blog(); 246 } else { 247 wp_clear_scheduled_hook('fsckeycdn_purge_blog_hook'); 248 wp_schedule_single_event(time(), 'fsckeycdn_purge_blog_hook'); 249 } 239 250 } 240 251 … … 251 262 252 263 function fsckeycdn_purge_all_blog_cron() { 253 fsckeycdn_purge_all_blog(); 254 // wp_clear_scheduled_hook('fsckeycdn_purge_all_blog_hook'); 255 // wp_schedule_single_event(time(), 'fsckeycdn_purge_all_blog_hook'); 256 } 257 //print_r(fsckeycdn_purge_all_blog()); 264 if(defined(FSKEYCDN_NO_CRON) && FSKEYCDN_NO_CRON){ 265 fsckeycdn_purge_all_blog(); 266 } else { 267 wp_clear_scheduled_hook('fsckeycdn_purge_all_blog_hook'); 268 wp_schedule_single_event(time(), 'fsckeycdn_purge_all_blog_hook'); 269 } 270 } 271 258 272 function fsckeycdn_purge_all_blog() { 259 273 // Purge the whole blogs (for multisite Sub-directories install) but static file (CSS, JS, and media). … … 268 282 269 283 function fsckeycdn_purge_all_cron() { 270 fsckeycdn_purge_all(); 271 // wp_clear_scheduled_hook('fsckeycdn_purge_all_hook'); 272 // wp_schedule_single_event(time(), 'fsckeycdn_purge_all_hook'); 284 if(defined(FSKEYCDN_NO_CRON) && FSKEYCDN_NO_CRON){ 285 fsckeycdn_purge_all(); 286 } else { 287 wp_clear_scheduled_hook('fsckeycdn_purge_all_hook'); 288 wp_schedule_single_event(time(), 'fsckeycdn_purge_all_hook'); 289 } 273 290 } 274 291 … … 556 573 </tr> 557 574 </tbody></table> 575 <?php } ?> 576 <a href="<?php echo wp_nonce_url( add_query_arg('_cache', 'clear'), '_cache__clear_nonce'); ?>" class="button button-primary">Clear Cache</a> 577 <?php if(is_super_admin()){ ?> 558 578 <form method="post" action="options-general.php?page=full-site-cache-kc" style="display: inline;"> 559 579 <input type="hidden" name="purge" value="everything" /> 560 <input type="submit" value="Purge Everything" class="button" onclick='javascript:return confirm("Are you sure to Purge Everything? This will also purge the cache include static file (images, CSS, JS, etc.). You can use “Clear Cache” on the admin barinstead.");' />580 <input type="submit" value="Purge Everything" class="button" onclick='javascript:return confirm("Are you sure to Purge Everything? This will also purge the cache include static file (images, CSS, JS, etc.). You can use “Clear Cache” instead.");' /> 561 581 </form> 562 582 <?php if(!$fsckeycdn_wp_config) { ?> -
full-site-cache-kc/trunk/readme.txt
r1462175 r1463786 5 5 Requires at least: 4.4 6 6 Tested up to: 4.6 7 Stable tag: trunk7 Stable tag: 2.2.0 8 8 License: GNU GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 16 16 17 17 This plugin can help you to use KeyCDN on your WordPress, not only your Media and CSS, but also all HTML page. It is much faster than other cache plugins because it can cache the content on the [KeyCDN’s Edge Servers](https://www.keycdn.com/network?a=7126), which are close to the end-user. This plugins can automatically purge the page (and also the homepage, archive page, tag page, category page, feed, sitemap) when you publish a page or post. 18 19 Video - install and enable it within 3 minutes: 20 21 [youtube https://www.youtube.com/watch?v=cushugwf4Aw] 22 23 The website of this plugin (also is an example website using this plugin): [keycdn.tlo.one](https://keycdn.tlo.one/) 18 24 19 25 This plugin only cache the content on the KeyCDN’s Edge Servers but not on your origin server, so if you install another cache plugin and use both of them, can improve performance. Now this plugin only works well with <a target="_blank" href="https://wordpress.org/plugins/cache-enabler/">Cache Enabler - WordPress Cache</a>. … … 55 61 56 62 Before use this plugin, you need to have a KeyCDN account. You can [sign up by this link](https://www.keycdn.com/?a=7126), and you can get $10 free credit, that is included 250GB web traffic, it's enough for your test, and can use for a long time (if you don't have too much web traffic). 63 64 Video - install and enable it within 3 minutes: 65 66 [youtube https://www.youtube.com/watch?v=cushugwf4Aw] 57 67 58 68 Put the folder `full-site-cache-kc` in your server, to `wp-content/plugins/full-site-cache-kc/`, you can [download it at here](https://wordpress.org/plugins/full-site-cache-kc/). … … 350 360 $fsckeycdn_root_domain_setup = true; 351 361 362 = The cache is not cleared when I updated a post/page = 363 364 If you are using CloudFlare proxy for the `wp-admin` domain, you need [to do some Extra Settings For CloudFlare after you actived KeyCDN](https://wordpress.org/plugins/full-site-cache-kc/other_notes/#Extra-Settings-For-CloudFlare), after that, the cache will be cleared correctly, if it still not work, try below: 365 366 We use cron job to purge for this version to remove delay when purge the cache, you might get some error like the cache is not cleared in some very specific environment, that is because the cron job to your site is broken, you can add this to your `wp-config.php` to use old behavior: 367 368 `$fsckeycdn_no_cron = true;` 369 370 In my test, this error (cron job not work) is only appears when I use CloudFlare’s Universal SSL and using a old operating system that the `curl` doesn’t support ECDSA/ECC SSL. I suggest you to use a up-to-date operating system. 371 352 372 = Why this plugin need to change the Siteurl? = 353 373 … … 371 391 == Changelog == 372 392 373 = 2.2.0 (unreleased) = 374 375 + Use cron job to purge, so now it soesn't has delay to purge! 393 = 2.2.0 = 394 395 + Use cron job to purge, so now it doesn't has delay to purge! 396 + Add Clear Cache button in settings page. 376 397 377 398 = 2.1.6 = … … 446 467 447 468 == Upgrade Notice == 469 470 = 2.2.0 = 471 472 We use cron job to purge for this version to remove delay when purge the cache, you might get some error like the cache is not cleared in some very specific environment, that is because the cron job to your site is broken, you can add this to your `wp-config.php` to use old behavior: 473 474 `$fsckeycdn_no_cron = true;` 475 476 In my test, this error is only appears when I use CloudFlare’s Universal SSL and using a old operating system that the `curl` doesn’t support ECDSA/ECC SSL. I suggest you to use a up-to-date operating system. 448 477 449 478 = 2.1.5.1 =
Note: See TracChangeset
for help on using the changeset viewer.