Version Description
Download this release
Release Info
Developer | pluginkollektiv |
Plugin | Cachify |
Version | 2.3.2 |
Comparing to | |
See all releases |
Code changes from version 2.3.1 to 2.3.2
- CHANGELOG.md +10 -0
- apc/proxy.php +8 -10
- cachify.php +8 -10
- docker_tag +0 -1
- inc/class-cachify-apc.php +4 -1
- inc/class-cachify-cli.php +3 -0
- inc/class-cachify-db.php +5 -2
- inc/class-cachify-hdd.php +4 -1
- inc/class-cachify-memcached.php +4 -1
- inc/class-cachify.php +14 -15
- inc/setup/cachify.apc.htaccess.php +1 -1
- inc/setup/cachify.apc.nginx.php +1 -1
- inc/setup/cachify.hdd.htaccess.php +5 -1
- inc/setup/cachify.hdd.nginx.php +1 -1
- inc/setup/cachify.memcached.nginx.php +2 -2
- output.log +0 -65
- readme.txt +19 -6
CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1 |
# Changelog
|
2 |
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
## 2.3.1
|
5 |
* Fix: clean up unused parameter evaluation after publishing a post to prevent PHP notice (#187) (#188)
|
6 |
* Fix: correct minor spelling mistakes (#193, props timse201)
|
1 |
# Changelog
|
2 |
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
|
3 |
|
4 |
+
## 2.3.2
|
5 |
+
* Fix: enforce WordPress environment for caching modules (#221, props timse201)
|
6 |
+
* Fix: Remove unnecessary build artifacts from plugin deployment (#226)
|
7 |
+
* Fix: Fix input sanitization for APC proxy (#240) (#241)
|
8 |
+
* Maintenance: Remove unused language folder (#214, props timse201)
|
9 |
+
* Maintenance: Update documentation links (#211, #212, props timse201)
|
10 |
+
* Maintenance: Update documentation links (#213, props timse201)
|
11 |
+
* Maintenance: More precise tags in README file (#216, props timse201)
|
12 |
+
* Maintenance: Tested up to WordPress 5.8
|
13 |
+
|
14 |
## 2.3.1
|
15 |
* Fix: clean up unused parameter evaluation after publishing a post to prevent PHP notice (#187) (#188)
|
16 |
* Fix: correct minor spelling mistakes (#193, props timse201)
|
apc/proxy.php
CHANGED
@@ -23,12 +23,8 @@ if ( ! empty( $_COOKIE ) ) {
|
|
23 |
*/
|
24 |
function cachify_is_ssl() {
|
25 |
if ( isset( $_SERVER['HTTPS'] ) ) {
|
26 |
-
|
27 |
-
if ( 'on' === strtolower(
|
28 |
-
return true;
|
29 |
-
}
|
30 |
-
|
31 |
-
if ( '1' === $_SERVER['HTTPS'] ) {
|
32 |
return true;
|
33 |
}
|
34 |
} elseif ( isset( $_SERVER['SERVER_PORT'] ) && ( '443' === $_SERVER['SERVER_PORT'] ) ) {
|
@@ -44,11 +40,13 @@ if (
|
|
44 |
&& ( strpos( filter_input( INPUT_SERVER, 'PHP_SELF', FILTER_SANITIZE_STRING ), '/wp-admin/' ) === false )
|
45 |
&& ( strpos( filter_input( INPUT_SERVER, 'HTTP_ACCEPT_ENCODING', FILTER_SANITIZE_STRING ), 'gzip' ) !== false )
|
46 |
) {
|
47 |
-
$prefix = cachify_is_ssl() ? 'https-' : '';
|
48 |
$cache = apc_fetch(
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
|
|
|
|
52 |
);
|
53 |
if ( $cache ) {
|
54 |
ini_set( 'zlib.output_compression', 'Off' );
|
23 |
*/
|
24 |
function cachify_is_ssl() {
|
25 |
if ( isset( $_SERVER['HTTPS'] ) ) {
|
26 |
+
$https = filter_input( INPUT_SERVER, 'HTTPS', FILTER_SANITIZE_STRING );
|
27 |
+
if ( 'on' === strtolower( $https ) || '1' === $https ) {
|
|
|
|
|
|
|
|
|
28 |
return true;
|
29 |
}
|
30 |
} elseif ( isset( $_SERVER['SERVER_PORT'] ) && ( '443' === $_SERVER['SERVER_PORT'] ) ) {
|
40 |
&& ( strpos( filter_input( INPUT_SERVER, 'PHP_SELF', FILTER_SANITIZE_STRING ), '/wp-admin/' ) === false )
|
41 |
&& ( strpos( filter_input( INPUT_SERVER, 'HTTP_ACCEPT_ENCODING', FILTER_SANITIZE_STRING ), 'gzip' ) !== false )
|
42 |
) {
|
|
|
43 |
$cache = apc_fetch(
|
44 |
+
md5(
|
45 |
+
( cachify_is_ssl() ? 'https-' : '' ) .
|
46 |
+
filter_input( INPUT_SERVER, 'HTTP_HOST', FILTER_SANITIZE_STRING ) .
|
47 |
+
filter_input( INPUT_SERVER, 'REQUEST_URI', FILTER_SANITIZE_URL )
|
48 |
+
) .
|
49 |
+
'.cachify'
|
50 |
);
|
51 |
if ( $cache ) {
|
52 |
ini_set( 'zlib.output_compression', 'Off' );
|
cachify.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Plugin URI: https://cachify.pluginkollektiv.org
|
8 |
* License: GPLv2 or later
|
9 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
-
* Version: 2.3.
|
11 |
* Text Domain: cachify
|
12 |
*
|
13 |
* @package Cachify
|
@@ -73,7 +73,7 @@ register_uninstall_hook(
|
|
73 |
)
|
74 |
);
|
75 |
|
76 |
-
/* WP-CLI */
|
77 |
add_action(
|
78 |
'cli_init',
|
79 |
array(
|
@@ -82,7 +82,7 @@ add_action(
|
|
82 |
)
|
83 |
);
|
84 |
|
85 |
-
/*
|
86 |
spl_autoload_register( 'cachify_autoload' );
|
87 |
|
88 |
/**
|
@@ -91,13 +91,11 @@ spl_autoload_register( 'cachify_autoload' );
|
|
91 |
* @param string $class the class name.
|
92 |
*/
|
93 |
function cachify_autoload( $class ) {
|
94 |
-
if ( in_array( $class, array( 'Cachify', 'Cachify_APC', 'Cachify_DB', 'Cachify_HDD', 'Cachify_MEMCACHED', 'Cachify_CLI' ) ) ) {
|
95 |
-
require_once(
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
strtolower( str_replace( '_', '-', $class ) )
|
100 |
-
)
|
101 |
);
|
102 |
}
|
103 |
}
|
7 |
* Plugin URI: https://cachify.pluginkollektiv.org
|
8 |
* License: GPLv2 or later
|
9 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
+
* Version: 2.3.2
|
11 |
* Text Domain: cachify
|
12 |
*
|
13 |
* @package Cachify
|
73 |
)
|
74 |
);
|
75 |
|
76 |
+
/* WP-CLI - cli_init does loading checks itself */
|
77 |
add_action(
|
78 |
'cli_init',
|
79 |
array(
|
82 |
)
|
83 |
);
|
84 |
|
85 |
+
/* Register autoload */
|
86 |
spl_autoload_register( 'cachify_autoload' );
|
87 |
|
88 |
/**
|
91 |
* @param string $class the class name.
|
92 |
*/
|
93 |
function cachify_autoload( $class ) {
|
94 |
+
if ( in_array( $class, array( 'Cachify', 'Cachify_APC', 'Cachify_DB', 'Cachify_HDD', 'Cachify_MEMCACHED', 'Cachify_CLI' ), true ) ) {
|
95 |
+
require_once sprintf(
|
96 |
+
'%s/inc/class-%s.php',
|
97 |
+
CACHIFY_DIR,
|
98 |
+
strtolower( str_replace( '_', '-', $class ) )
|
|
|
|
|
99 |
);
|
100 |
}
|
101 |
}
|
docker_tag
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
docker.pkg.github.com/pluginkollektiv/cachify/php-actions_composer_cachify:php-latest-build2
|
|
inc/class-cachify-apc.php
CHANGED
@@ -5,6 +5,9 @@
|
|
5 |
* @package Cachify
|
6 |
*/
|
7 |
|
|
|
|
|
|
|
8 |
/**
|
9 |
* Cachify_APC
|
10 |
*/
|
@@ -142,7 +145,7 @@ final class Cachify_APC {
|
|
142 |
private static function _cache_signature( $detail ) {
|
143 |
return sprintf(
|
144 |
"\n\n<!-- %s\n%s @ %s -->",
|
145 |
-
'Cachify |
|
146 |
( $detail ? 'APC Cache' : __( 'Generated', 'cachify' ) ),
|
147 |
date_i18n(
|
148 |
'd.m.Y H:i:s',
|
5 |
* @package Cachify
|
6 |
*/
|
7 |
|
8 |
+
/* Quit */
|
9 |
+
defined( 'ABSPATH' ) || exit;
|
10 |
+
|
11 |
/**
|
12 |
* Cachify_APC
|
13 |
*/
|
145 |
private static function _cache_signature( $detail ) {
|
146 |
return sprintf(
|
147 |
"\n\n<!-- %s\n%s @ %s -->",
|
148 |
+
'Cachify | https://cachify.pluginkollektiv.org',
|
149 |
( $detail ? 'APC Cache' : __( 'Generated', 'cachify' ) ),
|
150 |
date_i18n(
|
151 |
'd.m.Y H:i:s',
|
inc/class-cachify-cli.php
CHANGED
@@ -5,6 +5,9 @@
|
|
5 |
* @package Cachify
|
6 |
*/
|
7 |
|
|
|
|
|
|
|
8 |
/**
|
9 |
* Cachify_CLI
|
10 |
*/
|
5 |
* @package Cachify
|
6 |
*/
|
7 |
|
8 |
+
/* Quit */
|
9 |
+
defined( 'ABSPATH' ) || exit;
|
10 |
+
|
11 |
/**
|
12 |
* Cachify_CLI
|
13 |
*/
|
inc/class-cachify-db.php
CHANGED
@@ -5,6 +5,9 @@
|
|
5 |
* @package Cachify
|
6 |
*/
|
7 |
|
|
|
|
|
|
|
8 |
/**
|
9 |
* Cachify_DB
|
10 |
*/
|
@@ -172,7 +175,7 @@ final class Cachify_DB {
|
|
172 |
if ( $detail ) {
|
173 |
return sprintf(
|
174 |
"\n\n<!-- %s\n%s @ %s\n%s\n%s\n-->",
|
175 |
-
'Cachify |
|
176 |
'DB Cache',
|
177 |
date_i18n(
|
178 |
'd.m.Y H:i:s',
|
@@ -194,7 +197,7 @@ final class Cachify_DB {
|
|
194 |
} else {
|
195 |
return sprintf(
|
196 |
"\n\n<!-- %s\n%s @ %s -->",
|
197 |
-
'Cachify |
|
198 |
__( 'Generated', 'cachify' ),
|
199 |
date_i18n(
|
200 |
'd.m.Y H:i:s',
|
5 |
* @package Cachify
|
6 |
*/
|
7 |
|
8 |
+
/* Quit */
|
9 |
+
defined( 'ABSPATH' ) || exit;
|
10 |
+
|
11 |
/**
|
12 |
* Cachify_DB
|
13 |
*/
|
175 |
if ( $detail ) {
|
176 |
return sprintf(
|
177 |
"\n\n<!-- %s\n%s @ %s\n%s\n%s\n-->",
|
178 |
+
'Cachify | https://cachify.pluginkollektiv.org',
|
179 |
'DB Cache',
|
180 |
date_i18n(
|
181 |
'd.m.Y H:i:s',
|
197 |
} else {
|
198 |
return sprintf(
|
199 |
"\n\n<!-- %s\n%s @ %s -->",
|
200 |
+
'Cachify | https://cachify.pluginkollektiv.org',
|
201 |
__( 'Generated', 'cachify' ),
|
202 |
date_i18n(
|
203 |
'd.m.Y H:i:s',
|
inc/class-cachify-hdd.php
CHANGED
@@ -5,6 +5,9 @@
|
|
5 |
* @package Cachify
|
6 |
*/
|
7 |
|
|
|
|
|
|
|
8 |
/**
|
9 |
* Cachify_HDD
|
10 |
*/
|
@@ -140,7 +143,7 @@ final class Cachify_HDD {
|
|
140 |
private static function _cache_signature( $detail ) {
|
141 |
return sprintf(
|
142 |
"\n\n<!-- %s\n%s @ %s -->",
|
143 |
-
'Cachify |
|
144 |
( $detail ? 'HDD Cache' : __( 'Generated', 'cachify' ) ),
|
145 |
date_i18n(
|
146 |
'd.m.Y H:i:s',
|
5 |
* @package Cachify
|
6 |
*/
|
7 |
|
8 |
+
/* Quit */
|
9 |
+
defined( 'ABSPATH' ) || exit;
|
10 |
+
|
11 |
/**
|
12 |
* Cachify_HDD
|
13 |
*/
|
143 |
private static function _cache_signature( $detail ) {
|
144 |
return sprintf(
|
145 |
"\n\n<!-- %s\n%s @ %s -->",
|
146 |
+
'Cachify | https://cachify.pluginkollektiv.org',
|
147 |
( $detail ? 'HDD Cache' : __( 'Generated', 'cachify' ) ),
|
148 |
date_i18n(
|
149 |
'd.m.Y H:i:s',
|
inc/class-cachify-memcached.php
CHANGED
@@ -5,6 +5,9 @@
|
|
5 |
* @package Cachify
|
6 |
*/
|
7 |
|
|
|
|
|
|
|
8 |
/**
|
9 |
* Cachify_MEMCACHED
|
10 |
*/
|
@@ -188,7 +191,7 @@ final class Cachify_MEMCACHED {
|
|
188 |
private static function _cache_signature( $detail ) {
|
189 |
return sprintf(
|
190 |
"\n\n<!-- %s\n%s @ %s -->",
|
191 |
-
'Cachify |
|
192 |
( $detail ? 'Memcached' : __( 'Generated', 'cachify' ) ),
|
193 |
date_i18n(
|
194 |
'd.m.Y H:i:s',
|
5 |
* @package Cachify
|
6 |
*/
|
7 |
|
8 |
+
/* Quit */
|
9 |
+
defined( 'ABSPATH' ) || exit;
|
10 |
+
|
11 |
/**
|
12 |
* Cachify_MEMCACHED
|
13 |
*/
|
191 |
private static function _cache_signature( $detail ) {
|
192 |
return sprintf(
|
193 |
"\n\n<!-- %s\n%s @ %s -->",
|
194 |
+
'Cachify | https://cachify.pluginkollektiv.org',
|
195 |
( $detail ? 'Memcached' : __( 'Generated', 'cachify' ) ),
|
196 |
date_i18n(
|
197 |
'd.m.Y H:i:s',
|
inc/class-cachify.php
CHANGED
@@ -5,6 +5,9 @@
|
|
5 |
* @package Cachify
|
6 |
*/
|
7 |
|
|
|
|
|
|
|
8 |
/**
|
9 |
* Cachify
|
10 |
*/
|
@@ -420,6 +423,16 @@ final class Cachify {
|
|
420 |
return $wpdb->get_col( "SELECT blog_id FROM `$wpdb->blogs`" );
|
421 |
}
|
422 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
423 |
/**
|
424 |
* Set default options
|
425 |
*
|
@@ -782,7 +795,7 @@ final class Cachify {
|
|
782 |
return false;
|
783 |
}
|
784 |
|
785 |
-
|
786 |
'<div class="notice notice-success is-dismissible"><p>%s</p></div>',
|
787 |
esc_html__( 'Cachify cache is flushed.', 'cachify' )
|
788 |
);
|
@@ -1509,20 +1522,6 @@ final class Cachify {
|
|
1509 |
);
|
1510 |
}
|
1511 |
|
1512 |
-
/**
|
1513 |
-
* Register the language file
|
1514 |
-
*
|
1515 |
-
* @since 2.1.3
|
1516 |
-
* @change 2.1.3
|
1517 |
-
*/
|
1518 |
-
public static function register_textdomain() {
|
1519 |
-
load_plugin_textdomain(
|
1520 |
-
'cachify',
|
1521 |
-
false,
|
1522 |
-
CACHIFY_DIR . '/lang'
|
1523 |
-
);
|
1524 |
-
}
|
1525 |
-
|
1526 |
/**
|
1527 |
* Register settings
|
1528 |
*
|
5 |
* @package Cachify
|
6 |
*/
|
7 |
|
8 |
+
/* Quit */
|
9 |
+
defined( 'ABSPATH' ) || exit;
|
10 |
+
|
11 |
/**
|
12 |
* Cachify
|
13 |
*/
|
423 |
return $wpdb->get_col( "SELECT blog_id FROM `$wpdb->blogs`" );
|
424 |
}
|
425 |
|
426 |
+
/**
|
427 |
+
* Register the language file
|
428 |
+
*
|
429 |
+
* @since 2.1.3
|
430 |
+
* @change 2.3.2
|
431 |
+
*/
|
432 |
+
public static function register_textdomain() {
|
433 |
+
load_plugin_textdomain( 'cachify' );
|
434 |
+
}
|
435 |
+
|
436 |
/**
|
437 |
* Set default options
|
438 |
*
|
795 |
return false;
|
796 |
}
|
797 |
|
798 |
+
printf(
|
799 |
'<div class="notice notice-success is-dismissible"><p>%s</p></div>',
|
800 |
esc_html__( 'Cachify cache is flushed.', 'cachify' )
|
801 |
);
|
1522 |
);
|
1523 |
}
|
1524 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1525 |
/**
|
1526 |
* Register settings
|
1527 |
*
|
inc/setup/cachify.apc.htaccess.php
CHANGED
@@ -32,7 +32,7 @@ $ending = '/cachify/apc/proxy.php
|
|
32 |
<div style="background:#fff;border:1px solid #ccc;padding:10px 20px">
|
33 |
<pre style="white-space: pre-wrap">
|
34 |
<?php
|
35 |
-
|
36 |
'%s%s%s',
|
37 |
esc_html( $beginning ),
|
38 |
esc_html( WP_PLUGIN_DIR ),
|
32 |
<div style="background:#fff;border:1px solid #ccc;padding:10px 20px">
|
33 |
<pre style="white-space: pre-wrap">
|
34 |
<?php
|
35 |
+
printf(
|
36 |
'%s%s%s',
|
37 |
esc_html( $beginning ),
|
38 |
esc_html( WP_PLUGIN_DIR ),
|
inc/setup/cachify.apc.nginx.php
CHANGED
@@ -40,7 +40,7 @@ $ending = '/cachify/apc/proxy.php</strong>;
|
|
40 |
<div style="background:#fff;border:1px solid #ccc;padding:10px 20px">
|
41 |
<pre style="white-space: pre-wrap">
|
42 |
<?php
|
43 |
-
|
44 |
'%s%s%s',
|
45 |
esc_html( $beginning ),
|
46 |
esc_html( WP_PLUGIN_DIR ),
|
40 |
<div style="background:#fff;border:1px solid #ccc;padding:10px 20px">
|
41 |
<pre style="white-space: pre-wrap">
|
42 |
<?php
|
43 |
+
printf(
|
44 |
'%s%s%s',
|
45 |
esc_html( $beginning ),
|
46 |
esc_html( WP_PLUGIN_DIR ),
|
inc/setup/cachify.hdd.htaccess.php
CHANGED
@@ -77,6 +77,10 @@ $ending = '/cache/cachify/%{ENV:CACHIFY_HOST}%{ENV:CACHIFY_DIR}index.html%{ENV:C
|
|
77 |
CacheDisable /
|
78 |
</IfModule></pre>
|
79 |
</li>
|
|
|
|
|
|
|
|
|
80 |
</ul>
|
81 |
</td>
|
82 |
</tr>
|
@@ -85,7 +89,7 @@ $ending = '/cache/cachify/%{ENV:CACHIFY_HOST}%{ENV:CACHIFY_DIR}index.html%{ENV:C
|
|
85 |
<div style="background:#fff;border:1px solid #ccc;padding:10px 20px">
|
86 |
<pre style="white-space: pre-wrap">
|
87 |
<?php
|
88 |
-
|
89 |
'%s%s%s%s%s',
|
90 |
esc_html( $beginning ),
|
91 |
esc_html( WP_CONTENT_DIR ),
|
77 |
CacheDisable /
|
78 |
</IfModule></pre>
|
79 |
</li>
|
80 |
+
<li>
|
81 |
+
<?php esc_html_e( 'In case of special character errors, you can add the following to the .htaccess file:', 'cachify' ); ?><br />
|
82 |
+
<pre>AddDefaultCharset UTF-8</pre>
|
83 |
+
</li>
|
84 |
</ul>
|
85 |
</td>
|
86 |
</tr>
|
89 |
<div style="background:#fff;border:1px solid #ccc;padding:10px 20px">
|
90 |
<pre style="white-space: pre-wrap">
|
91 |
<?php
|
92 |
+
printf(
|
93 |
'%s%s%s%s%s',
|
94 |
esc_html( $beginning ),
|
95 |
esc_html( WP_CONTENT_DIR ),
|
inc/setup/cachify.hdd.nginx.php
CHANGED
@@ -29,7 +29,7 @@ defined( 'ABSPATH' ) || exit;
|
|
29 |
<ul style="list-style-type:circle">
|
30 |
<li>
|
31 |
<?php
|
32 |
-
|
33 |
/* translators: variable names*/
|
34 |
esc_html__( 'For domains with FQDN, the variable %1$s must be used instead of %2$s.', 'cachify' ),
|
35 |
'<code>${http_host}</code>',
|
29 |
<ul style="list-style-type:circle">
|
30 |
<li>
|
31 |
<?php
|
32 |
+
printf(
|
33 |
/* translators: variable names*/
|
34 |
esc_html__( 'For domains with FQDN, the variable %1$s must be used instead of %2$s.', 'cachify' ),
|
35 |
'<code>${http_host}</code>',
|
inc/setup/cachify.memcached.nginx.php
CHANGED
@@ -29,7 +29,7 @@ defined( 'ABSPATH' ) || exit;
|
|
29 |
<ul style="list-style-type:circle">
|
30 |
<li>
|
31 |
<?php
|
32 |
-
|
33 |
/* translators: variable names*/
|
34 |
esc_html__( 'For domains with FQDN, the variable %1$s must be used instead of %2$s.', 'cachify' ),
|
35 |
'<code>${http_host}</code>',
|
@@ -39,7 +39,7 @@ defined( 'ABSPATH' ) || exit;
|
|
39 |
</li>
|
40 |
<li>
|
41 |
<?php
|
42 |
-
|
43 |
/* translators: code */
|
44 |
esc_html__( 'If you have errors please try to change %1$s to %2$s This forces IPv4 because some servers that allow IPv4 and IPv6 are configured to bind memcached to IPv4 only.', 'cachify' ),
|
45 |
'<code>memcached_pass localhost:11211;</code>',
|
29 |
<ul style="list-style-type:circle">
|
30 |
<li>
|
31 |
<?php
|
32 |
+
printf(
|
33 |
/* translators: variable names*/
|
34 |
esc_html__( 'For domains with FQDN, the variable %1$s must be used instead of %2$s.', 'cachify' ),
|
35 |
'<code>${http_host}</code>',
|
39 |
</li>
|
40 |
<li>
|
41 |
<?php
|
42 |
+
printf(
|
43 |
/* translators: code */
|
44 |
esc_html__( 'If you have errors please try to change %1$s to %2$s This forces IPv4 because some servers that allow IPv4 and IPv6 are configured to bind memcached to IPv4 only.', 'cachify' ),
|
45 |
'<code>memcached_pass localhost:11211;</code>',
|
output.log
DELETED
@@ -1,65 +0,0 @@
|
|
1 |
-
Running php-build composer
|
2 |
-
WARNING! Your password will be stored unencrypted in /home/runner/.docker/config.json.
|
3 |
-
Configure a credential helper to remove this warning. See
|
4 |
-
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
|
5 |
-
|
6 |
-
Login Succeeded
|
7 |
-
Pulling docker.pkg.github.com/pluginkollektiv/cachify/php-actions_composer_cachify:php-latest-build2
|
8 |
-
WARNING: ⚠️ Failed to pull manifest by the resolved digest. This registry does not
|
9 |
-
appear to conform to the distribution registry specification; falling back to
|
10 |
-
pull by tag. This fallback is DEPRECATED, and will be removed in a future
|
11 |
-
release. Please contact admins of https://docker.pkg.github.com. ⚠️
|
12 |
-
|
13 |
-
php-latest-build2: Pulling from pluginkollektiv/cachify/php-actions_composer_cachify
|
14 |
-
ba3557a56b15: Pulling fs layer
|
15 |
-
743181516422: Pulling fs layer
|
16 |
-
6c307b60e377: Pulling fs layer
|
17 |
-
e2d5b4330891: Pulling fs layer
|
18 |
-
0baf29266ab7: Pulling fs layer
|
19 |
-
dfa723e4109b: Pulling fs layer
|
20 |
-
7e9fbc8e5c1a: Pulling fs layer
|
21 |
-
510d7725cdd5: Pulling fs layer
|
22 |
-
5fdc925b16f5: Pulling fs layer
|
23 |
-
ced63f1f690d: Pulling fs layer
|
24 |
-
dfa723e4109b: Waiting
|
25 |
-
7e9fbc8e5c1a: Waiting
|
26 |
-
510d7725cdd5: Waiting
|
27 |
-
5fdc925b16f5: Waiting
|
28 |
-
ced63f1f690d: Waiting
|
29 |
-
e2d5b4330891: Waiting
|
30 |
-
0baf29266ab7: Waiting
|
31 |
-
6c307b60e377: Verifying Checksum
|
32 |
-
6c307b60e377: Download complete
|
33 |
-
743181516422: Verifying Checksum
|
34 |
-
743181516422: Download complete
|
35 |
-
e2d5b4330891: Verifying Checksum
|
36 |
-
e2d5b4330891: Download complete
|
37 |
-
dfa723e4109b: Verifying Checksum
|
38 |
-
dfa723e4109b: Download complete
|
39 |
-
ba3557a56b15: Verifying Checksum
|
40 |
-
ba3557a56b15: Pull complete
|
41 |
-
743181516422: Pull complete
|
42 |
-
0baf29266ab7: Verifying Checksum
|
43 |
-
0baf29266ab7: Download complete
|
44 |
-
510d7725cdd5: Verifying Checksum
|
45 |
-
510d7725cdd5: Download complete
|
46 |
-
6c307b60e377: Pull complete
|
47 |
-
e2d5b4330891: Pull complete
|
48 |
-
0baf29266ab7: Pull complete
|
49 |
-
5fdc925b16f5: Verifying Checksum
|
50 |
-
5fdc925b16f5: Download complete
|
51 |
-
dfa723e4109b: Pull complete
|
52 |
-
7e9fbc8e5c1a: Verifying Checksum
|
53 |
-
7e9fbc8e5c1a: Download complete
|
54 |
-
ced63f1f690d: Verifying Checksum
|
55 |
-
ced63f1f690d: Download complete
|
56 |
-
7e9fbc8e5c1a: Pull complete
|
57 |
-
510d7725cdd5: Pull complete
|
58 |
-
5fdc925b16f5: Pull complete
|
59 |
-
ced63f1f690d: Pull complete
|
60 |
-
Digest: sha256:874ddb5e4ab22a569dc8333257cac4b025fb6f68bc943cebcd438f105a984417
|
61 |
-
Status: Downloaded newer image for docker.pkg.github.com/pluginkollektiv/cachify/php-actions_composer_cachify:php-latest-build2
|
62 |
-
docker.pkg.github.com/pluginkollektiv/cachify/php-actions_composer_cachify:php-latest-build2
|
63 |
-
Docker tag: docker.pkg.github.com/pluginkollektiv/cachify/php-actions_composer_cachify:php-latest-build2
|
64 |
-
No private keys supplied
|
65 |
-
Command: composer install --no-progress --no-interaction
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
# Cachify #
|
2 |
* Contributors: pluginkollektiv
|
3 |
* Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TD4AMD2D8EMZW
|
4 |
-
* Tags: acceleration,
|
5 |
* Requires at least: 4.4
|
6 |
-
* Tested up to: 5.
|
7 |
* Requires PHP: 5.2.4
|
8 |
-
* Stable tag: 2.3.
|
9 |
* License: GPLv2 or later
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -58,7 +58,7 @@ Smart, efficient cache solution for WordPress. Use DB, HDD, APC or Memcached for
|
|
58 |
The cache expiration can not be considered due to technical reasons. If the cache stock has to be emptied at certain time intervals, then it is recommended to call a prepared PHP file by a cronjob.
|
59 |
|
60 |
### PHP Fatal error: Cannot use output buffering in output buffering display handlers in Unknown on line 0 ###
|
61 |
-
This error message may occur after commissioning the caching
|
62 |
|
63 |
### My Website looks in some parts broken after activating Cachify! ###
|
64 |
Please make sure there is no issue that caused by the Cache minify feature. Just deactivate it or use HTML only. If the issue still exist please feel free to report it at the [support forums](https://wordpress.org/support/plugin/cachify/). With this feature any unnecessary characters such as breaks and HTML comments are removed from the source code.
|
@@ -70,7 +70,7 @@ If you use Cachify to store the cache on HDD there is no PHP to run. In the case
|
|
70 |
Currently the caching plugin for WordPress has no connection to a CDN provider. Although the Buzzword CDN (Content Delivery Network) is praised as a performance factor, CDN makes little sense for WordPress websites with a national audience. In this case, a home host could provide the requested files faster than a worldwide CDN service provider because the next node could be far away.
|
71 |
|
72 |
### PHP OPcache as a caching method? ###
|
73 |
-
Compared to APC (Alternative PHP Cache), PHP
|
74 |
|
75 |
### When does Cachify automaticaly flush its cache? ###
|
76 |
* After publishing new posts
|
@@ -98,10 +98,20 @@ To ensure that Google and other search engines do not index the static contents
|
|
98 |
Disallow: */cache/cachify/
|
99 |
Allow: /`
|
100 |
|
101 |
-
A complete documentation is available in the [
|
102 |
|
103 |
## Changelog ##
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
### 2.3.1 ###
|
106 |
* Fix: clean up unused parameter evaluation after publishing a post to prevent PHP notice (#187) (#188)
|
107 |
* Fix: correct minor spelling mistakes (#193, props timse201)
|
@@ -151,6 +161,9 @@ For the complete changelog, check out our [GitHub repository](https://github.com
|
|
151 |
|
152 |
## Upgrade Notice ##
|
153 |
|
|
|
|
|
|
|
154 |
### 2.3.1 ###
|
155 |
This is a minor bug fix release that prevents PHP warnings introduced in 2.3.0. It is recommended for all users.
|
156 |
|
1 |
# Cachify #
|
2 |
* Contributors: pluginkollektiv
|
3 |
* Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TD4AMD2D8EMZW
|
4 |
+
* Tags: acceleration, cache, caching, minimize, performance, apc, disk, hdd, memcached, compression, minify, speed
|
5 |
* Requires at least: 4.4
|
6 |
+
* Tested up to: 5.8
|
7 |
* Requires PHP: 5.2.4
|
8 |
+
* Stable tag: 2.3.2
|
9 |
* License: GPLv2 or later
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
58 |
The cache expiration can not be considered due to technical reasons. If the cache stock has to be emptied at certain time intervals, then it is recommended to call a prepared PHP file by a cronjob.
|
59 |
|
60 |
### PHP Fatal error: Cannot use output buffering in output buffering display handlers in Unknown on line 0 ###
|
61 |
+
This error message may occur after commissioning the caching plugin. The hint appears because there are no cache files on the HDD for output. This is probably due to the fact that Cachify could not store files in the cache folder. Please check the write-permissions for the cache folder (found in the WordPress directory *wp-content*) and set them if necessary.
|
62 |
|
63 |
### My Website looks in some parts broken after activating Cachify! ###
|
64 |
Please make sure there is no issue that caused by the Cache minify feature. Just deactivate it or use HTML only. If the issue still exist please feel free to report it at the [support forums](https://wordpress.org/support/plugin/cachify/). With this feature any unnecessary characters such as breaks and HTML comments are removed from the source code.
|
70 |
Currently the caching plugin for WordPress has no connection to a CDN provider. Although the Buzzword CDN (Content Delivery Network) is praised as a performance factor, CDN makes little sense for WordPress websites with a national audience. In this case, a home host could provide the requested files faster than a worldwide CDN service provider because the next node could be far away.
|
71 |
|
72 |
### PHP OPcache as a caching method? ###
|
73 |
+
Compared to APC (Alternative PHP Cache), PHP OPcache is not able to contain content with custom keys and values. Because of this Cachify can not consider the PHP OPcache as a caching method.
|
74 |
|
75 |
### When does Cachify automaticaly flush its cache? ###
|
76 |
* After publishing new posts
|
98 |
Disallow: */cache/cachify/
|
99 |
Allow: /`
|
100 |
|
101 |
+
A complete documentation is available in the [online handbook](https://cachify.pluginkollektiv.org/documentation/).
|
102 |
|
103 |
## Changelog ##
|
104 |
|
105 |
+
### 2.3.2 ###
|
106 |
+
* Fix: enforce WordPress environment for caching modules (#221, props timse201)
|
107 |
+
* Fix: Remove unnecessary build artifacts from plugin deployment (#226)
|
108 |
+
* Fix: Fix input sanitization for APC proxy (#240) (#241)
|
109 |
+
* Maintenance: Remove unused language folder (#214, props timse201)
|
110 |
+
* Maintenance: Update documentation links (#211, #212, props timse201)
|
111 |
+
* Maintenance: Update documentation links (#213, props timse201)
|
112 |
+
* Maintenance: More precise tags in README file (#216, props timse201)
|
113 |
+
* Maintenance: Tested up to WordPress 5.8
|
114 |
+
|
115 |
### 2.3.1 ###
|
116 |
* Fix: clean up unused parameter evaluation after publishing a post to prevent PHP notice (#187) (#188)
|
117 |
* Fix: correct minor spelling mistakes (#193, props timse201)
|
161 |
|
162 |
## Upgrade Notice ##
|
163 |
|
164 |
+
### 2.3.2 ###
|
165 |
+
This is a minor maintenance release. It is recommended for all users.
|
166 |
+
|
167 |
### 2.3.1 ###
|
168 |
This is a minor bug fix release that prevents PHP warnings introduced in 2.3.0. It is recommended for all users.
|
169 |
|