Version Description
- fixed stupid typo in config/delayed.php which broke things badly (april fools-wise); strpos instead of str_pos as reported by Takahiro.
Download this release
Release Info
Developer | futtta |
Plugin | Autoptimize |
Version | 1.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.6.0 to 1.6.1
- autoptimize.php +1 -1
- config/default.php +1 -1
- config/delayed.php +1 -1
- readme.txt +4 -1
autoptimize.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Autoptimize
|
4 |
Plugin URI: http://blog.futtta.be/category/autoptimize/
|
5 |
Description: Optimizes your website, concatenating the CSS and JavaScript code, and compressing it.
|
6 |
-
Version: 1.6.
|
7 |
Author: Frank Goossens (futtta)
|
8 |
Author URI: http://blog.futtta.be/
|
9 |
Released under the GNU General Public License (GPL)
|
3 |
Plugin Name: Autoptimize
|
4 |
Plugin URI: http://blog.futtta.be/category/autoptimize/
|
5 |
Description: Optimizes your website, concatenating the CSS and JavaScript code, and compressing it.
|
6 |
+
Version: 1.6.1
|
7 |
Author: Frank Goossens (futtta)
|
8 |
Author URI: http://blog.futtta.be/
|
9 |
Released under the GNU General Public License (GPL)
|
config/default.php
CHANGED
@@ -38,7 +38,7 @@ $eTag=md5($contents);
|
|
38 |
$modTime=filemtime(__FILE__.'.none');
|
39 |
|
40 |
$headers = apache_request_headers();
|
41 |
-
$eTagMatch = (isset($headers['If-None-Match']) &&
|
42 |
$modTimeMatch = (isset($headers['If-Modified-Since']) && strtotime($headers['If-Modified-Since']) === $modTime);
|
43 |
|
44 |
if (($modTimeMatch)||($eTagMatch)) {
|
38 |
$modTime=filemtime(__FILE__.'.none');
|
39 |
|
40 |
$headers = apache_request_headers();
|
41 |
+
$eTagMatch = (isset($headers['If-None-Match']) && strpos($headers['If-None-Match'],$eTag));
|
42 |
$modTimeMatch = (isset($headers['If-Modified-Since']) && strtotime($headers['If-Modified-Since']) === $modTime);
|
43 |
|
44 |
if (($modTimeMatch)||($eTagMatch)) {
|
config/delayed.php
CHANGED
@@ -48,7 +48,7 @@ $eTag=md5($contents);
|
|
48 |
$modTime=filemtime(__FILE__.'.none');
|
49 |
|
50 |
$headers = apache_request_headers();
|
51 |
-
$eTagMatch = (isset($headers['If-None-Match']) &&
|
52 |
$modTimeMatch = (isset($headers['If-Modified-Since']) && strtotime($headers['If-Modified-Since']) === $modTime);
|
53 |
|
54 |
if (($modTimeMatch)||($eTagMatch)) {
|
48 |
$modTime=filemtime(__FILE__.'.none');
|
49 |
|
50 |
$headers = apache_request_headers();
|
51 |
+
$eTagMatch = (isset($headers['If-None-Match']) && strpos($headers['If-None-Match'],$eTag));
|
52 |
$modTimeMatch = (isset($headers['If-Modified-Since']) && strtotime($headers['If-Modified-Since']) === $modTime);
|
53 |
|
54 |
if (($modTimeMatch)||($eTagMatch)) {
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: futtta, turl
|
|
3 |
Tags: css, html, javascript, js, optimize, speed, cache, data-uri, aggregate, minimize, performance, pagespeed
|
4 |
Requires at least: 2.7
|
5 |
Tested up to: 3.5
|
6 |
-
Stable tag: 1.6.
|
7 |
|
8 |
Autoptimize is a WordPress plugin that speeds up your website, and helps you save bandwidth.
|
9 |
|
@@ -32,6 +32,9 @@ You can report problems on the [wordpress.org support forum](http://wordpress.or
|
|
32 |
|
33 |
== Changelog ==
|
34 |
|
|
|
|
|
|
|
35 |
= 1.6.0 =
|
36 |
* You can now specify scripts that should not be Autoptimized in the admin page. Just add the names (or part of the path) of the scripts in a comma-seperated list and that JavaScript-file will remain untouched by Autoptimize.
|
37 |
* Added support for ETag and LastModified (essentially for a better pagespeed score, as the files are explicitely cacheable for 1 year)
|
3 |
Tags: css, html, javascript, js, optimize, speed, cache, data-uri, aggregate, minimize, performance, pagespeed
|
4 |
Requires at least: 2.7
|
5 |
Tested up to: 3.5
|
6 |
+
Stable tag: 1.6.1
|
7 |
|
8 |
Autoptimize is a WordPress plugin that speeds up your website, and helps you save bandwidth.
|
9 |
|
32 |
|
33 |
== Changelog ==
|
34 |
|
35 |
+
= 1.6.1 =
|
36 |
+
* fixed stupid typo in config/delayed.php which broke things badly (april fools-wise); strpos instead of str_pos as reported by Takahiro.
|
37 |
+
|
38 |
= 1.6.0 =
|
39 |
* You can now specify scripts that should not be Autoptimized in the admin page. Just add the names (or part of the path) of the scripts in a comma-seperated list and that JavaScript-file will remain untouched by Autoptimize.
|
40 |
* Added support for ETag and LastModified (essentially for a better pagespeed score, as the files are explicitely cacheable for 1 year)
|