Version Description
- Fixed php warnings in PgCache_ContentGrabber.php
Download this release
Release Info
Developer | joemoto |
Plugin | W3 Total Cache |
Version | 0.13.1 |
Comparing to | |
See all releases |
Code changes from version 0.13.0 to 0.13.1
- PgCache_ContentGrabber.php +10 -3
- readme.txt +13 -10
- w3-total-cache-api.php +1 -1
- w3-total-cache.php +1 -1
PgCache_ContentGrabber.php
CHANGED
@@ -768,7 +768,7 @@ class PgCache_ContentGrabber {
|
|
768 |
// when cache key is normalized, since that cause redirect loop
|
769 |
|
770 |
if ( $this->_get_page_key( $this->_page_key_extension ) ==
|
771 |
-
$this->_get_page_key( $
|
772 |
$this->cache_reject_reason = 'Normalization redirect';
|
773 |
$this->process_status = 'miss_normalization_redirect';
|
774 |
return false;
|
@@ -1439,8 +1439,15 @@ class PgCache_ContentGrabber {
|
|
1439 |
// key url part
|
1440 |
if ( $request_url ) {
|
1441 |
$parts = parse_url( $request_url );
|
1442 |
-
|
1443 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1444 |
( isset( $parts['path'] ) ? $parts['path'] : '' ) .
|
1445 |
( isset( $parts['query'] ) ? '?' . $parts['query'] : '' );
|
1446 |
} else {
|
768 |
// when cache key is normalized, since that cause redirect loop
|
769 |
|
770 |
if ( $this->_get_page_key( $this->_page_key_extension ) ==
|
771 |
+
$this->_get_page_key( $this->_page_key_extension, $response_headers['kv']['Location'] ) ) {
|
772 |
$this->cache_reject_reason = 'Normalization redirect';
|
773 |
$this->process_status = 'miss_normalization_redirect';
|
774 |
return false;
|
1439 |
// key url part
|
1440 |
if ( $request_url ) {
|
1441 |
$parts = parse_url( $request_url );
|
1442 |
+
|
1443 |
+
if ( isset( $parts['host'] ) ) {
|
1444 |
+
$key_urlpart = $parts['host'] .
|
1445 |
+
( isset( $parts['port'] ) ? ':' . $parts['port'] : '' );
|
1446 |
+
} else {
|
1447 |
+
$key_urlpart = $this->_request_host;
|
1448 |
+
}
|
1449 |
+
|
1450 |
+
$key_urlpart .=
|
1451 |
( isset( $parts['path'] ) ? $parts['path'] : '' ) .
|
1452 |
( isset( $parts['query'] ) ? '?' . $parts['query'] : '' );
|
1453 |
} else {
|
readme.txt
CHANGED
@@ -1,19 +1,19 @@
|
|
1 |
=== Plugin Name ===
|
2 |
-
Contributors: boldgrid, fredericktownes, maxicusc, gidomanders, bwmarkle, harryjackson1221
|
3 |
Tags: seo, cache, optimize, pagespeed, performance, caching, compression, maxcdn, nginx, varnish, redis, new relic, aws, amazon web services, s3, cloudfront, rackspace, cloudflare, azure, apache
|
4 |
Requires at least: 3.2
|
5 |
-
Tested up to: 5.
|
6 |
-
Stable tag: 0.13.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
-
Search Engine (SEO) & Performance Optimization (WPO) via caching. Integrated caching: CDN, Page, Minify, Object, Fragment, Database support.
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
W3 Total Cache (W3TC) improves the SEO and user experience of your site by increasing website performance and reducing load times by leveraging features like content delivery network (CDN) integration and the latest best practices.
|
15 |
|
16 |
-
W3TC is the **only** web host agnostic Web Performance Optimization (WPO) framework for WordPress trusted by millions of publishers, web developers, and web hosts worldwide for more than a decade. It is the total performance solution for optimizing your WordPress Website.
|
17 |
|
18 |
An inside look:
|
19 |
|
@@ -28,7 +28,7 @@ https://youtu.be/7AsNSSrZq4Y
|
|
28 |
* Optimized progressive render: pages start rendering quickly and can be interacted with more quickly
|
29 |
* Reduced page load time: increased visitor time on site; visitors view more pages
|
30 |
* Improved web server performance; sustain high traffic periods
|
31 |
-
* Up to 80% bandwidth savings when you minify HTML, minify CSS and minify JS files.
|
32 |
|
33 |
*KEY FEATURES*
|
34 |
|
@@ -62,7 +62,7 @@ https://youtu.be/7AsNSSrZq4Y
|
|
62 |
* Extension framework for customization or extensibility for Cloudflare, WPML and much more
|
63 |
* Reverse proxy integration via Nginx or Varnish
|
64 |
|
65 |
-
Speed up your site tremendously, and improve the user experience for your readers without having to change WordPress, your theme, your plugins or how you produce your content.
|
66 |
|
67 |
== Frequently Asked Questions ==
|
68 |
|
@@ -248,7 +248,7 @@ Install the plugin to read the full FAQ on the plugins FAQ tab.
|
|
248 |
1. *Recommended:* If you already have a content delivery network (CDN) provider, proceed to the "Content Delivery Network" tab and populate the fields and set your preferences. If you do not use the Media Library, you will need to import your images etc into the default locations. Use the Media Library Import Tool on the "Content Delivery Network" tab to perform this task. If you do not have a CDN provider, you can still improve your site's performance using the "Self-hosted" method. On your own server, create a subdomain and matching DNS Zone record; e.g. static.domain.com and configure FTP options on the "Content Delivery Network" tab accordingly. Be sure to FTP upload the appropriate files, using the available upload buttons.
|
249 |
1. *Optional:* On the "Database Cache" tab, the recommended settings are preset. If using a shared hosting account use the "disk" method with caution, the response time of the disk may not be fast enough, so this option is disabled by default. Try object caching instead for shared hosting.
|
250 |
1. *Optional:* On the "Object Cache" tab, all of the recommended settings are preset. If using a shared hosting account use the "disk" method with caution, the response time of the disk may not be fast enough, so this option is disabled by default. Test this option with and without database cache to ensure that it provides a performance increase.
|
251 |
-
1. *Optional:* On the "User Agent Groups" tab, specify any user agents, like mobile phones if a mobile theme is used.
|
252 |
|
253 |
== What users have to say: ==
|
254 |
|
@@ -275,6 +275,9 @@ Please reach out to all of these people and support their projects if you're so
|
|
275 |
|
276 |
== Changelog ==
|
277 |
|
|
|
|
|
|
|
278 |
= 0.13.0 =
|
279 |
* Added new Pro feature, Debug - Purge Stack Trace
|
280 |
* Added "Feature Policy" security header
|
@@ -378,7 +381,7 @@ Please reach out to all of these people and support their projects if you're so
|
|
378 |
|
379 |
= 0.9.7.2 =
|
380 |
* Fixed fatal error during media file upload with CDN module active
|
381 |
-
* Fixed removal of empty values, JSON encoded string in attribute, trailing quote at end of tag, and the handling of anchors in HTML minify
|
382 |
* Fixed undefined index warning
|
383 |
* Fixed fatal error when purging CDN using full site delivery
|
384 |
|
@@ -681,4 +684,4 @@ Thanks for using W3 Total Cache! This release includes performance improvements
|
|
681 |
Thanks for using W3 Total Cache! This release addresses security issues for Cloudflare users as well as users that implement fragment caching via the mfunc functionality. For those using mfunc, temporarily disable page caching to allow yourself time to check the FAQ tab for new usage instructions; if you have a staging environment, that is the most convenient way to test prior to production roll out.
|
682 |
|
683 |
= 0.9.2.8 =
|
684 |
-
Thanks for using W3 Total Cache! The recent releases attempted to use WordPress' built in support for managing files and folders and clearly has not worked. Since W3TC is a caching plugin, file management is a critical issue that will cause lots of issues if it doesn't work perfectly. This release is hopefully the last attempt to restore file management back to the reliability of previous versions (0.9.2.4 etc). We realize that having *any* problems is not acceptable, but caching means changing server behavior, so while this plugin is still in pre-release we're trying to focus on learning.
|
1 |
=== Plugin Name ===
|
2 |
+
Contributors: boldgrid, fredericktownes, maxicusc, gidomanders, bwmarkle, harryjackson1221, joemoto
|
3 |
Tags: seo, cache, optimize, pagespeed, performance, caching, compression, maxcdn, nginx, varnish, redis, new relic, aws, amazon web services, s3, cloudfront, rackspace, cloudflare, azure, apache
|
4 |
Requires at least: 3.2
|
5 |
+
Tested up to: 5.4
|
6 |
+
Stable tag: 0.13.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
+
Search Engine (SEO) & Performance Optimization (WPO) via caching. Integrated caching: CDN, Page, Minify, Object, Fragment, Database support.
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
W3 Total Cache (W3TC) improves the SEO and user experience of your site by increasing website performance and reducing load times by leveraging features like content delivery network (CDN) integration and the latest best practices.
|
15 |
|
16 |
+
W3TC is the **only** web host agnostic Web Performance Optimization (WPO) framework for WordPress trusted by millions of publishers, web developers, and web hosts worldwide for more than a decade. It is the total performance solution for optimizing your WordPress Website.
|
17 |
|
18 |
An inside look:
|
19 |
|
28 |
* Optimized progressive render: pages start rendering quickly and can be interacted with more quickly
|
29 |
* Reduced page load time: increased visitor time on site; visitors view more pages
|
30 |
* Improved web server performance; sustain high traffic periods
|
31 |
+
* Up to 80% bandwidth savings when you minify HTML, minify CSS and minify JS files.
|
32 |
|
33 |
*KEY FEATURES*
|
34 |
|
62 |
* Extension framework for customization or extensibility for Cloudflare, WPML and much more
|
63 |
* Reverse proxy integration via Nginx or Varnish
|
64 |
|
65 |
+
Speed up your site tremendously, and improve the user experience for your readers without having to change WordPress, your theme, your plugins or how you produce your content.
|
66 |
|
67 |
== Frequently Asked Questions ==
|
68 |
|
248 |
1. *Recommended:* If you already have a content delivery network (CDN) provider, proceed to the "Content Delivery Network" tab and populate the fields and set your preferences. If you do not use the Media Library, you will need to import your images etc into the default locations. Use the Media Library Import Tool on the "Content Delivery Network" tab to perform this task. If you do not have a CDN provider, you can still improve your site's performance using the "Self-hosted" method. On your own server, create a subdomain and matching DNS Zone record; e.g. static.domain.com and configure FTP options on the "Content Delivery Network" tab accordingly. Be sure to FTP upload the appropriate files, using the available upload buttons.
|
249 |
1. *Optional:* On the "Database Cache" tab, the recommended settings are preset. If using a shared hosting account use the "disk" method with caution, the response time of the disk may not be fast enough, so this option is disabled by default. Try object caching instead for shared hosting.
|
250 |
1. *Optional:* On the "Object Cache" tab, all of the recommended settings are preset. If using a shared hosting account use the "disk" method with caution, the response time of the disk may not be fast enough, so this option is disabled by default. Test this option with and without database cache to ensure that it provides a performance increase.
|
251 |
+
1. *Optional:* On the "User Agent Groups" tab, specify any user agents, like mobile phones if a mobile theme is used.
|
252 |
|
253 |
== What users have to say: ==
|
254 |
|
275 |
|
276 |
== Changelog ==
|
277 |
|
278 |
+
= 0.13.1 =
|
279 |
+
* Fixed php warnings in PgCache_ContentGrabber.php
|
280 |
+
|
281 |
= 0.13.0 =
|
282 |
* Added new Pro feature, Debug - Purge Stack Trace
|
283 |
* Added "Feature Policy" security header
|
381 |
|
382 |
= 0.9.7.2 =
|
383 |
* Fixed fatal error during media file upload with CDN module active
|
384 |
+
* Fixed removal of empty values, JSON encoded string in attribute, trailing quote at end of tag, and the handling of anchors in HTML minify
|
385 |
* Fixed undefined index warning
|
386 |
* Fixed fatal error when purging CDN using full site delivery
|
387 |
|
684 |
Thanks for using W3 Total Cache! This release addresses security issues for Cloudflare users as well as users that implement fragment caching via the mfunc functionality. For those using mfunc, temporarily disable page caching to allow yourself time to check the FAQ tab for new usage instructions; if you have a staging environment, that is the most convenient way to test prior to production roll out.
|
685 |
|
686 |
= 0.9.2.8 =
|
687 |
+
Thanks for using W3 Total Cache! The recent releases attempted to use WordPress' built in support for managing files and folders and clearly has not worked. Since W3TC is a caching plugin, file management is a critical issue that will cause lots of issues if it doesn't work perfectly. This release is hopefully the last attempt to restore file management back to the reliability of previous versions (0.9.2.4 etc). We realize that having *any* problems is not acceptable, but caching means changing server behavior, so while this plugin is still in pre-release we're trying to focus on learning.
|
w3-total-cache-api.php
CHANGED
@@ -5,7 +5,7 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
5 |
}
|
6 |
|
7 |
define( 'W3TC', true );
|
8 |
-
define( 'W3TC_VERSION', '0.13.
|
9 |
define( 'W3TC_POWERED_BY', 'W3 Total Cache' );
|
10 |
define( 'W3TC_EMAIL', 'w3tc@w3-edge.com' );
|
11 |
define( 'W3TC_TEXT_DOMAIN', 'w3-total-cache' );
|
5 |
}
|
6 |
|
7 |
define( 'W3TC', true );
|
8 |
+
define( 'W3TC_VERSION', '0.13.1' );
|
9 |
define( 'W3TC_POWERED_BY', 'W3 Total Cache' );
|
10 |
define( 'W3TC_EMAIL', 'w3tc@w3-edge.com' );
|
11 |
define( 'W3TC_TEXT_DOMAIN', 'w3-total-cache' );
|
w3-total-cache.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: W3 Total Cache
|
4 |
Description: The highest rated and most complete WordPress performance plugin. Dramatically improve the speed and user experience of your site. Add browser, page, object and database caching as well as minify and content delivery network (CDN) to WordPress.
|
5 |
-
Version: 0.13.
|
6 |
Plugin URI: https://www.boldgrid.com/totalcache/
|
7 |
Author: BoldGrid
|
8 |
Author URI: https://www.boldgrid.com/
|
2 |
/*
|
3 |
Plugin Name: W3 Total Cache
|
4 |
Description: The highest rated and most complete WordPress performance plugin. Dramatically improve the speed and user experience of your site. Add browser, page, object and database caching as well as minify and content delivery network (CDN) to WordPress.
|
5 |
+
Version: 0.13.1
|
6 |
Plugin URI: https://www.boldgrid.com/totalcache/
|
7 |
Author: BoldGrid
|
8 |
Author URI: https://www.boldgrid.com/
|