Version Description
Bugfix for sites that use mod_rewrite to serve compressed pages.
=
Download this release
Release Info
Developer | donncha |
Plugin | WP Super Cache |
Version | 1.4.6 |
Comparing to | |
See all releases |
Code changes from version 1.4.5 to 1.4.6
- Changelog.txt +10 -0
- readme.txt +6 -3
- wp-cache.php +3 -5
Changelog.txt
CHANGED
@@ -1,3 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
2015-09-25 10:55 donncha
|
2 |
|
3 |
* readme.txt, wp-cache.php: Bump version to release 1.4.5 and add
|
1 |
+
2015-10-08 17:14 donncha
|
2 |
+
|
3 |
+
* wp-cache.php: Don't check if .htaccess already created as the
|
4 |
+
index check already created it. Props Tigertech. Ref:
|
5 |
+
https://wordpress.org/support/topic/all-website-pages-downloading-gz-file-after-latest-update?replies=28#post-7494087
|
6 |
+
|
7 |
+
2015-09-25 11:20 donncha
|
8 |
+
|
9 |
+
* Changelog.txt: Updated changelog
|
10 |
+
|
11 |
2015-09-25 10:55 donncha
|
12 |
|
13 |
* readme.txt, wp-cache.php: Bump version to release 1.4.5 and add
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: donncha, automattic, kraftbj
|
3 |
Tags: performance,caching,wp-cache,wp-super-cache,cache
|
4 |
Tested up to: 4.3.1
|
5 |
-
Stable tag: 1.4.
|
6 |
Requires at least: 3.0
|
7 |
|
8 |
A very fast caching engine for WordPress that produces static html files.
|
@@ -58,11 +58,14 @@ The cache directory, usually wp-content/cache/ is only for temporary files. Do n
|
|
58 |
|
59 |
== Upgrade Notice ==
|
60 |
|
61 |
-
= 1.4.
|
62 |
-
|
63 |
|
64 |
== Changelog ==
|
65 |
|
|
|
|
|
|
|
66 |
= 1.4.5 =
|
67 |
* Enhancement: Only preload public post types. Props webaware.
|
68 |
* Added an uninstall function that deletes the config file. Deactivate function doesn't delete it any more.
|
2 |
Contributors: donncha, automattic, kraftbj
|
3 |
Tags: performance,caching,wp-cache,wp-super-cache,cache
|
4 |
Tested up to: 4.3.1
|
5 |
+
Stable tag: 1.4.6
|
6 |
Requires at least: 3.0
|
7 |
|
8 |
A very fast caching engine for WordPress that produces static html files.
|
58 |
|
59 |
== Upgrade Notice ==
|
60 |
|
61 |
+
= 1.4.6 =
|
62 |
+
Bugfix for sites that use mod_rewrite to serve compressed pages.
|
63 |
|
64 |
== Changelog ==
|
65 |
|
66 |
+
= 1.4.6 =
|
67 |
+
* Generate the file cache/.htaccess even when one exists so gzip rules are created and gzipped pages are served correctly. Props Tigertech. https://wordpress.org/support/topic/all-website-pages-downloading-gz-file-after-latest-update?replies=36#post-7494087
|
68 |
+
|
69 |
= 1.4.5 =
|
70 |
* Enhancement: Only preload public post types. Props webaware.
|
71 |
* Added an uninstall function that deletes the config file. Deactivate function doesn't delete it any more.
|
wp-cache.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Super Cache
|
4 |
Plugin URI: http://wordpress.org/plugins/wp-super-cache/
|
5 |
Description: Very fast caching plugin for WordPress.
|
6 |
-
Version: 1.4.
|
7 |
Author: Automattic
|
8 |
Author URI: http://automattic.com/
|
9 |
License: GPL2+
|
@@ -1451,10 +1451,8 @@ function wsc_mod_rewrite() {
|
|
1451 |
echo '</div>';
|
1452 |
}
|
1453 |
// http://allmybrain.com/2007/11/08/making-wp-super-cache-gzip-compression-work/
|
1454 |
-
|
1455 |
-
|
1456 |
-
echo "<h4>" . sprintf( __( 'Gzip encoding rules in %s.htaccess created.', 'wp-super-cache' ), $cache_path ) . "</h4>";
|
1457 |
-
}
|
1458 |
|
1459 |
?></fieldset><?php
|
1460 |
}
|
3 |
Plugin Name: WP Super Cache
|
4 |
Plugin URI: http://wordpress.org/plugins/wp-super-cache/
|
5 |
Description: Very fast caching plugin for WordPress.
|
6 |
+
Version: 1.4.6
|
7 |
Author: Automattic
|
8 |
Author URI: http://automattic.com/
|
9 |
License: GPL2+
|
1451 |
echo '</div>';
|
1452 |
}
|
1453 |
// http://allmybrain.com/2007/11/08/making-wp-super-cache-gzip-compression-work/
|
1454 |
+
$gziprules = insert_with_markers( $cache_path . '.htaccess', 'supercache', explode( "\n", $gziprules ) );
|
1455 |
+
echo "<h4>" . sprintf( __( 'Gzip encoding rules in %s.htaccess created.', 'wp-super-cache' ), $cache_path ) . "</h4>";
|
|
|
|
|
1456 |
|
1457 |
?></fieldset><?php
|
1458 |
}
|