WP Fastest Cache - Version 1.0.4

Version Description

  • to add avif extensions for cdn
  • to add WPFC_SERVE_ONLY_VIA_CACHE [Details]
Download this release

Release Info

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

Code changes from version 1.0.3 to 1.0.4

inc/admin.php CHANGED
@@ -680,6 +680,10 @@
680
  $this->deleteCache();
681
  }
682
 
 
 
 
 
683
  return $htaccess;
684
  }
685
 
680
  $this->deleteCache();
681
  }
682
 
683
+ if(defined("WPFC_SERVE_ONLY_VIA_CACHE") && WPFC_SERVE_ONLY_VIA_CACHE){
684
+ $htaccess = preg_replace("/#\s?BEGIN\s?WpFastestCache.*?#\s?END\s?WpFastestCache/s", "", $htaccess);
685
+ }
686
+
687
  return $htaccess;
688
  }
689
 
inc/cdn.php CHANGED
@@ -384,6 +384,10 @@
384
  $res = array("success" => true);
385
  }
386
 
 
 
 
 
387
  if(($response_code == 401) && (preg_match("/res\.cloudinary\.com/i", $_GET["url"]))){
388
  $res = array("success" => true);
389
  }
384
  $res = array("success" => true);
385
  }
386
 
387
+ if(($response_code == 400) && (preg_match("/speedsize\.com/i", $_GET["url"]))){
388
+ $res = array("success" => true);
389
+ }
390
+
391
  if(($response_code == 401) && (preg_match("/res\.cloudinary\.com/i", $_GET["url"]))){
392
  $res = array("success" => true);
393
  }
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WP Fastest Cache ===
2
  Contributors: emrevona
3
  Donate link: http://profiles.wordpress.org/emrevona/
4
- Tags: cache, caching, performance, wp-cache, total cache, super cache, cdn
5
  Requires at least: 3.3
6
  Tested up to: 6.0
7
- Stable tag: 1.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -71,6 +71,10 @@ The free version is enough to speed up your site but in the premium version ther
71
  11. Google Fonts Async
72
  12. Lazy Load - Defer offscreen images. Consider lazy-loading offscreen and hidden images after all critical resources have finished loading to lower time to interactive
73
 
 
 
 
 
74
  <h4>Supported languages: </h4>
75
 
76
  * 中文 (by suifengtec)
@@ -125,6 +129,10 @@ The free version is enough to speed up your site but in the premium version ther
125
 
126
  == Changelog ==
127
 
 
 
 
 
128
  = 1.0.3 =
129
  * Photon will no longer be supported [<a target="_blank" href="https://www.wpfastestcache.com/blog/photon-will-no-longer-be-supported/">Details</a>]
130
  * to exclude category url for preload if any error occurs
1
  === WP Fastest Cache ===
2
  Contributors: emrevona
3
  Donate link: http://profiles.wordpress.org/emrevona/
4
+ Tags: cache, Optimize, performance, wp-cache, core web vitals
5
  Requires at least: 3.3
6
  Tested up to: 6.0
7
+ Stable tag: 1.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
71
  11. Google Fonts Async
72
  12. Lazy Load - Defer offscreen images. Consider lazy-loading offscreen and hidden images after all critical resources have finished loading to lower time to interactive
73
 
74
+ <h4>Information</h4>
75
+
76
+ It is very inconvenient to use multiple caching plugins at the same time. That's why you need to disable plugins such as LiteSpeed Cache, WP-Optimize, W3 Total Cache, WP Super Cache, SiteGround Optimizer, Breeze while using WP Fastest Cache.
77
+
78
  <h4>Supported languages: </h4>
79
 
80
  * 中文 (by suifengtec)
129
 
130
  == Changelog ==
131
 
132
+ = 1.0.4 =
133
+ * to add avif extensions for cdn
134
+ * to add WPFC_SERVE_ONLY_VIA_CACHE [<a target="_blank" href="https://www.wpfastestcache.com/tutorial/how-to-serve-cache-only-via-php/">Details</a>]
135
+
136
  = 1.0.3 =
137
  * Photon will no longer be supported [<a target="_blank" href="https://www.wpfastestcache.com/blog/photon-will-no-longer-be-supported/">Details</a>]
138
  * to exclude category url for preload if any error occurs
templates/cdn/file_types.php CHANGED
@@ -1,6 +1,7 @@
1
  <div class="wpfc-checkbox-list">
2
  <?php
3
  $types = array("aac",
 
4
  "css",
5
  "eot",
6
  "gif",
1
  <div class="wpfc-checkbox-list">
2
  <?php
3
  $types = array("aac",
4
+ "avif",
5
  "css",
6
  "eot",
7
  "gif",
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: 1.0.3
7
  Author: Emre Vona
8
  Author URI: http://tr.linkedin.com/in/emrevona
9
  Text Domain: wp-fastest-cache
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: 1.0.4
7
  Author: Emre Vona
8
  Author URI: http://tr.linkedin.com/in/emrevona
9
  Text Domain: wp-fastest-cache