WP Fastest Cache - Version 0.8.8.5

Version Description

  • to fix pre tag problem after minify html
  • to add woff2 extensions for cdn
  • to support non-latin characters for exclude
  • to support non-latin characters for toolbar clear current page cache
  • to fix "removing dollar sign with number" on fixing pre tag
  • to clear cache of cloudflare afer restart preload
  • to exclude LinkedInBot user-agent
  • to replace urls on data-large_image attribute with cdn-url
Download this release

Release Info

Developer emrevona
Plugin Icon 128x128 WP Fastest Cache
Version 0.8.8.5
Comparing to
See all releases

Code changes from version 0.8.8.4 to 0.8.8.5

images/stackpath.png ADDED
Binary file
inc/admin.php CHANGED
@@ -619,14 +619,6 @@
619
  $ifIsNotSecure = "RewriteCond %{HTTPS} !=on";
620
  }
621
 
622
- // WeePie Cookie Allow: to serve cache if the cookie named wpca_consent is set
623
- if($this->isPluginActive('wp-cookie-allow/wp-cookie-allow.php')){
624
- $consent_cookie = "RewriteCond %{HTTP:Cookie} wpca_consent=1"."\n";
625
- $consent_cookie .= "RewriteCond %{HTTP:Cookie} !wpca_cc [OR]"."\n";
626
- $consent_cookie .= "RewriteCond %{HTTP:Cookie} wpca_consent=1"."\n";
627
- $consent_cookie .= "RewriteCond %{HTTP:Cookie} wpca_cc=functional,analytical,social-media,advertising,other"."\n";
628
- }
629
-
630
  if($this->is_trailing_slash()){
631
  $trailing_slash_rule = "RewriteCond %{REQUEST_URI} \/$"."\n";
632
  }else{
@@ -1605,7 +1597,7 @@
1605
  <div class="wpfc-premium-step-footer">
1606
  <?php
1607
  if(get_bloginfo('language') == "tr-TR"){
1608
- $premium_price = "100TL";
1609
  }else{
1610
  $premium_price = "$49.99";
1611
  }
@@ -1841,10 +1833,10 @@
1841
  <div class="integration-page" style="display: block;width:98%;float:left;">
1842
 
1843
  <div wpfc-cdn-name="maxcdn" class="int-item int-item-left">
1844
- <img src="<?php echo plugins_url("wp-fastest-cache/images/maxcdn.png"); ?>" />
1845
  <div class="app">
1846
- <div style="font-weight:bold;font-size:14px;">CDN by MaxCDN</div>
1847
- <p>Experts in Content Delivery Network Services</p>
1848
  </div>
1849
  <div class="meta"></div>
1850
  </div>
619
  $ifIsNotSecure = "RewriteCond %{HTTPS} !=on";
620
  }
621
 
 
 
 
 
 
 
 
 
622
  if($this->is_trailing_slash()){
623
  $trailing_slash_rule = "RewriteCond %{REQUEST_URI} \/$"."\n";
624
  }else{
1597
  <div class="wpfc-premium-step-footer">
1598
  <?php
1599
  if(get_bloginfo('language') == "tr-TR"){
1600
+ $premium_price = "150TL";
1601
  }else{
1602
  $premium_price = "$49.99";
1603
  }
1833
  <div class="integration-page" style="display: block;width:98%;float:left;">
1834
 
1835
  <div wpfc-cdn-name="maxcdn" class="int-item int-item-left">
1836
+ <img style="border-radius:50px;" src="<?php echo plugins_url("wp-fastest-cache/images/stackpath.png"); ?>" />
1837
  <div class="app">
1838
+ <div style="font-weight:bold;font-size:14px;">CDN by StackPath</div>
1839
+ <p>Secure and accelerate your web sites</p>
1840
  </div>
1841
  <div class="meta"></div>
1842
  </div>
inc/cache.php CHANGED
@@ -237,41 +237,6 @@
237
  }
238
  }
239
 
240
- // WeePie Cookie Allow: to create cache if the cookie named wpca_consent is set
241
- if($this->isPluginActive('wp-cookie-allow/wp-cookie-allow.php')){
242
- $wpca_settings_general = get_option('wpca_settings_general', array());
243
-
244
- // check if settings are indexed by multilang locales
245
- if($this->isPluginActive('sitepress-multilingual-cms/sitepress.php')){
246
- $wpml_current_language = apply_filters('wpml_current_language', false);
247
-
248
- if($wpml_current_language){
249
- $wpml_languages = apply_filters('wpml_active_languages', NULL, 'orderby=id&order=desc');
250
-
251
- if(isset($wpml_languages[$wpml_current_language]) && isset($wpml_languages[$wpml_current_language]['default_locale'])) {
252
- $wpml_locale = $wpml_languages[$wpml_current_language]['default_locale'];
253
-
254
- if(isset($wpca_settings_general[$wpml_locale])) {
255
- $wpca_settings_general = $wpca_settings_general[$wpml_locale];
256
- if(!is_array($wpca_settings_general)) {
257
- $wpca_settings_general = array();
258
- }
259
- }
260
- }
261
- }
262
- }
263
-
264
- $wpca_enabled = (isset($wpca_settings_general['general_plugin_status']) && $wpca_settings_general['general_plugin_status'] == '1');
265
-
266
- if($wpca_enabled){
267
- if(!isset($_COOKIE["wpca_consent"]) || (isset($_COOKIE["wpca_consent"]) && $_COOKIE["wpca_consent"] == 0) || (isset($_COOKIE["wpca_cc"]) && $_COOKIE["wpca_cc"] != 'functional,analytical,social-media,advertising,other')){
268
- ob_start(array($this, "cdn_rewrite"));
269
-
270
- return 0;
271
- }
272
- }
273
- }
274
-
275
  if(isset($_COOKIE) && isset($_COOKIE['safirmobilswitcher'])){
276
  ob_start(array($this, "cdn_rewrite"));
277
 
@@ -482,7 +447,7 @@
482
 
483
  public function exclude_page($buffer = false){
484
  $preg_match_rule = "";
485
- $request_url = trim($_SERVER["REQUEST_URI"], "/");
486
 
487
  if($this->exclude_rules){
488
 
@@ -744,11 +709,11 @@
744
  $content = $wph->functions->content_urls_replacement($content, $wph->functions->get_replacement_list());
745
  }
746
 
 
 
747
  if($this->cacheFilePath){
748
  $this->createFolder($this->cacheFilePath, $content);
749
  }
750
-
751
- $content = $this->fix_pre_tag($content, $buffer);
752
 
753
  return $content."<!-- need to refresh to see cached version -->";
754
  }
@@ -762,6 +727,15 @@
762
 
763
  if(isset($pre_content[0]) && isset($pre_content[0][0])){
764
  foreach ($pre_content[0] as $key => $value){
 
 
 
 
 
 
 
 
 
765
  $content = preg_replace("/".preg_quote($value, "/")."/", $pre_buffer[0][$key], $content);
766
  }
767
  }
@@ -772,7 +746,7 @@
772
 
773
  public function cdn_rewrite($content){
774
  if($this->cdn){
775
- $content = preg_replace_callback("/(srcset|src|href|data-thumb|data-bg-url|data-lazyload|data-source-url|data-srcsmall|data-srclarge|data-srcfull|data-slide-img|data-lazy-original)\s{0,2}\=[\'\"]([^\'\"]+)[\'\"]/i", array($this, 'cdn_replace_urls'), $content);
776
 
777
  //url()
778
  $content = preg_replace_callback("/(url)\(([^\)\>]+)\)/i", array($this, 'cdn_replace_urls'), $content);
237
  }
238
  }
239
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
  if(isset($_COOKIE) && isset($_COOKIE['safirmobilswitcher'])){
241
  ob_start(array($this, "cdn_rewrite"));
242
 
447
 
448
  public function exclude_page($buffer = false){
449
  $preg_match_rule = "";
450
+ $request_url = urldecode(trim($_SERVER["REQUEST_URI"], "/"));
451
 
452
  if($this->exclude_rules){
453
 
709
  $content = $wph->functions->content_urls_replacement($content, $wph->functions->get_replacement_list());
710
  }
711
 
712
+ $content = $this->fix_pre_tag($content, $buffer);
713
+
714
  if($this->cacheFilePath){
715
  $this->createFolder($this->cacheFilePath, $content);
716
  }
 
 
717
 
718
  return $content."<!-- need to refresh to see cached version -->";
719
  }
727
 
728
  if(isset($pre_content[0]) && isset($pre_content[0][0])){
729
  foreach ($pre_content[0] as $key => $value){
730
+ /*
731
+ location ~ / {
732
+ set $path /path/$1/index.html;
733
+ }
734
+ */
735
+ $pre_buffer[0][$key] = preg_replace('/\$(\d)/', '\\\$$1', $pre_buffer[0][$key]);
736
+
737
+
738
+
739
  $content = preg_replace("/".preg_quote($value, "/")."/", $pre_buffer[0][$key], $content);
740
  }
741
  }
746
 
747
  public function cdn_rewrite($content){
748
  if($this->cdn){
749
+ $content = preg_replace_callback("/(srcset|src|href|data-thumb|data-bg-url|data-large_image|data-lazyload|data-source-url|data-srcsmall|data-srclarge|data-srcfull|data-slide-img|data-lazy-original)\s{0,2}\=[\'\"]([^\'\"]+)[\'\"]/i", array($this, 'cdn_replace_urls'), $content);
750
 
751
  //url()
752
  $content = preg_replace_callback("/(url)\(([^\)\>]+)\)/i", array($this, 'cdn_replace_urls'), $content);
inc/cdn.php CHANGED
@@ -143,8 +143,11 @@
143
  "Content-Type" => "application/json"
144
  ),
145
  );
146
-
147
- $response = wp_remote_request('https://api.cloudflare.com/client/v4/zones/?status=active&page=1&per_page=1000', $header);
 
 
 
148
 
149
  if(!$response || is_wp_error($response)){
150
  $res = array("success" => false, "error_message" => $response->get_error_message());
143
  "Content-Type" => "application/json"
144
  ),
145
  );
146
+
147
+ /*
148
+ status=active has been removed because status may be "pending"
149
+ */
150
+ $response = wp_remote_request('https://api.cloudflare.com/client/v4/zones/?page=1&per_page=1000', $header);
151
 
152
  if(!$response || is_wp_error($response)){
153
  $res = array("success" => false, "error_message" => $response->get_error_message());
js/toolbar.js CHANGED
@@ -1,19 +1,5 @@
1
- if(window.attachEvent) {
2
- window.attachEvent('onload', wpfc_delete_curent_page_cache);
3
- } else {
4
- if(window.onload) {
5
- var curronload = window.onload;
6
- var newonload = function(evt) {
7
- curronload(evt);
8
- wpfc_delete_curent_page_cache(evt);
9
- };
10
- window.onload = newonload;
11
- } else {
12
- window.onload = wpfc_delete_curent_page_cache;
13
- }
14
- }
15
- function wpfc_delete_curent_page_cache(){
16
- jQuery( document ).ready(function() {
17
  jQuery("body").append('<div id="revert-loader-toolbar"></div>');
18
 
19
  jQuery("#wp-admin-bar-wpfc-toolbar-parent-default li").click(function(e){
@@ -59,4 +45,5 @@ function wpfc_delete_curent_page_cache(){
59
  }
60
  });
61
  });
62
- }
 
1
+ window.addEventListener('load', function(){
2
+ jQuery(document).ready(function(){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  jQuery("body").append('<div id="revert-loader-toolbar"></div>');
4
 
5
  jQuery("#wp-admin-bar-wpfc-toolbar-parent-default li").click(function(e){
45
  }
46
  });
47
  });
48
+ });
49
+
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://profiles.wordpress.org/emrevona/
4
  Tags: cache, performance, wp-cache, total cache, super cache
5
  Requires at least: 3.3
6
  Tested up to: 4.9
7
- Stable tag: 0.8.8.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -103,6 +103,16 @@ Wpfc does not support Wordpress Multisite yet.
103
 
104
  == Changelog ==
105
 
 
 
 
 
 
 
 
 
 
 
106
  = 0.8.8.4 =
107
  * to show language option via php instead of javascript
108
  * to show warning if there is no zone on Cloudflare
@@ -762,7 +772,7 @@ You need to refresh a page twice. If a page is cached, at the bottom of the page
762
  Yes, it works with Nginx properly.
763
 
764
  = Does it work with IIS (Windows Server) ? =
765
- No, it does not work with IIS.
766
 
767
  = What does ".htaccess not found" warning mean? =
768
  Wpfc does not create .htaccess automatically so you need to create empty one.
4
  Tags: cache, performance, wp-cache, total cache, super cache
5
  Requires at least: 3.3
6
  Tested up to: 4.9
7
+ Stable tag: 0.8.8.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
103
 
104
  == Changelog ==
105
 
106
+ = 0.8.8.5 =
107
+ * to fix pre tag problem after minify html
108
+ * to add woff2 extensions for cdn
109
+ * to support non-latin characters for exclude
110
+ * to support non-latin characters for toolbar clear current page cache
111
+ * to fix "removing dollar sign with number" on fixing pre tag
112
+ * to clear cache of cloudflare afer restart preload
113
+ * to exclude LinkedInBot user-agent
114
+ * to replace urls on data-large_image attribute with cdn-url
115
+
116
  = 0.8.8.4 =
117
  * to show language option via php instead of javascript
118
  * to show warning if there is no zone on Cloudflare
772
  Yes, it works with Nginx properly.
773
 
774
  = Does it work with IIS (Windows Server) ? =
775
+ Yes, it works with IIS properly.
776
 
777
  = What does ".htaccess not found" warning mean? =
778
  Wpfc does not create .htaccess automatically so you need to create empty one.
templates/cdn/file_types.php CHANGED
@@ -16,7 +16,8 @@
16
  "png",
17
  "svg",
18
  "ttf",
19
- "woff"
 
20
  );
21
 
22
  foreach ($types as $key => $value) {
16
  "png",
17
  "svg",
18
  "ttf",
19
+ "woff",
20
+ "woff2"
21
  );
22
 
23
  foreach ($types as $key => $value) {
templates/cdn/maxcdn.php CHANGED
@@ -6,7 +6,7 @@
6
  <table width="100%" height="100%">
7
  <tbody>
8
  <tr>
9
- <td valign="middle" style="vertical-align: middle; font-weight: bold; color: rgb(255, 255, 255); text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5); padding-left: 10px; font-size: 13px; cursor: move;">MaxCDN Settings</td>
10
  <td width="20" align="center" style="vertical-align: middle;"></td>
11
  <td width="20" align="center" style="vertical-align: middle; font-family: Arial,Helvetica,sans-serif; color: rgb(170, 170, 170); cursor: default;">
12
  <div title="Close Window" class="close-wiz"></div>
@@ -22,17 +22,17 @@
22
  <div id="wpfc-wizard-maxcdn" class="wpfc-cdn-pages-container">
23
  <div wpfc-cdn-page="1" class="wiz-cont">
24
  <h1>Let's Get Started</h1>
25
- <p>Hi! If you don't have a <strong>MaxCDN</strong> account, you can create one. If you already have, please continue...</p>
26
  <div class="wiz-input-cont" style="text-align:center;">
27
- <a href="http://tracking.maxcdn.com/c/149801/3982/378" target="_blank">
28
- <button class="wpfc-green-button">Create a MaxCDN Account</button>
29
  </a>
30
  </div>
31
- <p class="wpfc-bottom-note" style="margin-bottom:-10px;"><a target="_blank" href="https://www.maxcdn.com/one/tutorial/implementing-cdn-on-wordpress-with-wp-fastest-cache/">Note: Please read How to Integrate MaxCDN into WP Fastest Cache</a></p>
32
  </div>
33
  <div wpfc-cdn-page="2" class="wiz-cont" style="display:none">
34
  <h1>Enter CDN Url</h1>
35
- <p>Please enter your <strong>MaxCDN CDN Url</strong> below to deliver your contents via MaxCDN.</p>
36
  <div class="wiz-input-cont">
37
  <label class="mc-input-label" for="cdn-url" style="padding-right: 12px;">CDN Url:</label><input type="text" name="" value="" class="api-key" id="cdn-url">
38
  <div id="cdn-url-loading"></div>
@@ -61,7 +61,7 @@
61
  </div>
62
 
63
 
64
- <img class="wiz-bg-img" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAAAIVBMVEVMaXHtVS7rUyzuVy/uVi/uWDD////97eP2rID60rnyh0dw+3WeAAAABXRSTlMAYyfQnK57FEkAAAPJSURBVHja5ZzRcuMwCEUDAsvS/3/wPnS27qa1BRIgpstrM8kpXONrWeL1+q2BiHAFIm4HAqBS+D1KIQLchUTfgd7ggtmGSBdbGBkC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4yBZAX0K6TROCJIlypzhZlNbjKdSWQKZQXmMkdtFcxt6twCmOMovHnx+4801E/E803U3PjHKCbFsMyyZbwowj1bKdsmnn6wIQARlb9BRAD7B8T+X/EHj45eHFRJsacAAAAASUVORK5CYII="/>
65
  </div>
66
  </div>
67
  </div>
6
  <table width="100%" height="100%">
7
  <tbody>
8
  <tr>
9
+ <td valign="middle" style="vertical-align: middle; font-weight: bold; color: rgb(255, 255, 255); text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5); padding-left: 10px; font-size: 13px; cursor: move;">StackPath Settings</td>
10
  <td width="20" align="center" style="vertical-align: middle;"></td>
11
  <td width="20" align="center" style="vertical-align: middle; font-family: Arial,Helvetica,sans-serif; color: rgb(170, 170, 170); cursor: default;">
12
  <div title="Close Window" class="close-wiz"></div>
22
  <div id="wpfc-wizard-maxcdn" class="wpfc-cdn-pages-container">
23
  <div wpfc-cdn-page="1" class="wiz-cont">
24
  <h1>Let's Get Started</h1>
25
+ <p>Hi! If you don't have a <strong>StackPath</strong> account, you can create one. If you already have, please continue...</p>
26
  <div class="wiz-input-cont" style="text-align:center;">
27
+ <a href="//tracking.stackpath.com/c/149801/470088/8285" target="_blank">
28
+ <button class="wpfc-green-button">Create a StackPath Account</button>
29
  </a>
30
  </div>
31
+ <p class="wpfc-bottom-note" style="margin-bottom:-10px;"><a target="_blank" href="https://www.maxcdn.com/one/tutorial/implementing-cdn-on-wordpress-with-wp-fastest-cache/">Note: Please read How to Integrate StackPath into WP Fastest Cache</a></p>
32
  </div>
33
  <div wpfc-cdn-page="2" class="wiz-cont" style="display:none">
34
  <h1>Enter CDN Url</h1>
35
+ <p>Please enter your <strong>StackPath CDN Url</strong> below to deliver your contents via StackPath.</p>
36
  <div class="wiz-input-cont">
37
  <label class="mc-input-label" for="cdn-url" style="padding-right: 12px;">CDN Url:</label><input type="text" name="" value="" class="api-key" id="cdn-url">
38
  <div id="cdn-url-loading"></div>
61
  </div>
62
 
63
 
64
+ <img style="border-radius:100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tgN5Xa93UnY5kSfkYk66mSe0mOCxj6oKC/Lx5U7NjQ9QPtEucTLze6wNPZsC1NwykJJ1EEARBEARBEARBEARBEARBEARBEARB3Kn8BwljXJ7xWnz9AAAAAElFTkSuQmCC"/>
65
  </div>
66
  </div>
67
  </div>
templates/exclude.php CHANGED
@@ -453,6 +453,9 @@
453
  //self.add_item(new Date().getTime(), {"prefix" : "startwith", "content" : "wp-content", "editable" : false});
454
  self.add_item(new Date().getTime(), {"type" : "page", "prefix" : "startwith", "content" : "wp-admin", "editable" : false});
455
  self.add_item(new Date().getTime(), {"type" : "useragent", "prefix" : "contain", "content" : "facebookexternalhit", "editable" : false});
 
 
 
456
  self.add_item(new Date().getTime(), {"type" : "useragent", "prefix" : "contain", "content" : "WhatsApp", "editable" : false});
457
 
458
 
453
  //self.add_item(new Date().getTime(), {"prefix" : "startwith", "content" : "wp-content", "editable" : false});
454
  self.add_item(new Date().getTime(), {"type" : "page", "prefix" : "startwith", "content" : "wp-admin", "editable" : false});
455
  self.add_item(new Date().getTime(), {"type" : "useragent", "prefix" : "contain", "content" : "facebookexternalhit", "editable" : false});
456
+
457
+ self.add_item(new Date().getTime(), {"type" : "useragent", "prefix" : "contain", "content" : "LinkedInBot", "editable" : false});
458
+
459
  self.add_item(new Date().getTime(), {"type" : "useragent", "prefix" : "contain", "content" : "WhatsApp", "editable" : false});
460
 
461
 
wpFastestCache.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Fastest Cache
4
  Plugin URI: http://wordpress.org/plugins/wp-fastest-cache/
5
  Description: The simplest and fastest WP Cache system
6
- Version: 0.8.8.4
7
  Author: Emre Vona
8
  Author URI: http://tr.linkedin.com/in/emrevona
9
  Text Domain: wp-fastest-cache
@@ -663,7 +663,7 @@ GNU General Public License for more details.
663
  $_GET["path"] = "/index.html";
664
  }
665
 
666
- $_GET["path"] = esc_url_raw($_GET["path"]);
667
 
668
  $paths = array();
669
 
@@ -715,7 +715,7 @@ GNU General Public License for more details.
715
  }
716
 
717
  protected function get_excluded_useragent(){
718
- return "facebookexternalhit|WhatsApp|Mediatoolkitbot";
719
  }
720
 
721
  // protected function detectNewPost(){
@@ -1389,6 +1389,9 @@ GNU General Public License for more details.
1389
  update_option("WpFastestCachePreLoad", json_encode($pre_load));
1390
 
1391
  echo "Preload Restarted";
 
 
 
1392
  }else{
1393
  echo "Completed";
1394
 
3
  Plugin Name: WP Fastest Cache
4
  Plugin URI: http://wordpress.org/plugins/wp-fastest-cache/
5
  Description: The simplest and fastest WP Cache system
6
+ Version: 0.8.8.5
7
  Author: Emre Vona
8
  Author URI: http://tr.linkedin.com/in/emrevona
9
  Text Domain: wp-fastest-cache
663
  $_GET["path"] = "/index.html";
664
  }
665
 
666
+ $_GET["path"] = urldecode(esc_url_raw($_GET["path"]));
667
 
668
  $paths = array();
669
 
715
  }
716
 
717
  protected function get_excluded_useragent(){
718
+ return "facebookexternalhit|LinkedInBot|WhatsApp|Mediatoolkitbot";
719
  }
720
 
721
  // protected function detectNewPost(){
1389
  update_option("WpFastestCachePreLoad", json_encode($pre_load));
1390
 
1391
  echo "Preload Restarted";
1392
+
1393
+ include_once('inc/cdn.php');
1394
+ CdnWPFC::cloudflare_clear_cache();
1395
  }else{
1396
  echo "Completed";
1397