Skip to content

Commit 10a432e

Browse files
authored
Merge branch 'master' into master
2 parents 1b84909 + cd6e6ea commit 10a432e

20 files changed

+39
-66
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Please attach the output of following command when open a new support request.
1+
Kindly, attach the output of the following commands while creating a new support request.
22

33
- [ ] lsb_release -a
44
- [ ] ee -v

CHANGELOG.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
v3.7.5 - Jan 12, 2018
2+
- Upgrade wp-cli version to 1.4.1
3+
- Update templates to skip cache for more plugins
4+
15
v3.7.4 - Aug 29, 2016
26
- Fix phpmemcacheadmin download urls [critical]
37

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#[EasyEngine](https://easyengine.io/)
1+
# [EasyEngine](https://easyengine.io/)
22

33
[![Travis Build Status](https://travis-ci.org/EasyEngine/easyengine.svg)](https://travis-ci.org/EasyEngine/easyengine) [![Join EasyEngine Slack Channel](http://slack.easyengine.io/badge.svg)](http://slack.easyengine.io/)
44

@@ -118,10 +118,7 @@ ee site create example.com --php --pagespeed # create example.com php site w
118118
## Donations
119119

120120
[![PayPal-Donate](https://cloud.githubusercontent.com/assets/4115/5297691/c7b50292-7bd7-11e4-987b-2dc21069e756.png)](http://rt.cx/eedonate)
121-
122121
[![BitCoin-Donate](https://bitpay.com/img/donate-button.svg)](https://bitpay.com/417008/donate)
123122

124-
---
125-
126123
## License
127-
[MIT] (http://opensource.org/licenses/MIT)
124+
[MIT](http://opensource.org/licenses/MIT)

ee/cli/templates/redis-hhvm.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ if ($query_string != "") {
99
set $skip_cache 1;
1010
}
1111
# Don't cache URL containing the following segments
12-
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*.php|index.php|/feed/|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)") {
12+
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*\.php|index.php|/feed/|.*sitemap.*\.xml)") {
1313
set $skip_cache 1;
1414
}
1515
# Don't use the cache for logged in users or recent commenter or customer with items in cart
16-
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|woocommerce_items_in_cart") {
16+
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|[a-z0-9]+_items_in_cart") {
1717
set $skip_cache 1;
1818
}
1919
# Use cached or actual file if they exists, Otherwise pass request to WordPress

ee/cli/templates/redis-php7.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ if ($query_string != "") {
99
set $skip_cache 1;
1010
}
1111
# Don't cache URL containing the following segments
12-
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*.php|index.php|/feed/|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)") {
12+
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*\.php|index.php|/feed/|.*sitemap.*\.xml)") {
1313
set $skip_cache 1;
1414
}
1515
# Don't use the cache for logged in users or recent commenter or customer with items in cart
16-
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|woocommerce_items_in_cart") {
16+
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|[a-z0-9]+_items_in_cart") {
1717
set $skip_cache 1;
1818
}
1919
# Use cached or actual file if they exists, Otherwise pass request to WordPress

ee/cli/templates/redis.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ if ($query_string != "") {
99
set $skip_cache 1;
1010
}
1111
# Don't cache URL containing the following segments
12-
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*.php|index.php|/feed/|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)") {
12+
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*\.php|index.php|/feed/|.*sitemap.*\.xml)") {
1313
set $skip_cache 1;
1414
}
1515
# Don't use the cache for logged in users or recent commenter or customer with items in cart
16-
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|woocommerce_items_in_cart") {
16+
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|[a-z0-9]+_items_in_cart") {
1717
set $skip_cache 1;
1818
}
1919
# Use cached or actual file if they exists, Otherwise pass request to WordPress

ee/cli/templates/w3tc-hhvm.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ if ($query_string != "") {
1010
set $cache_uri 'null cache';
1111
}
1212
# Don't cache URL containing the following segments
13-
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*.php|index.php|/feed/|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)") {
13+
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*\.php|index.php|/feed/|.*sitemap.*\.xml)") {
1414
set $cache_uri 'null cache';
1515
}
1616
# Don't use the cache for logged in users or recent commenter or customer with items in cart
17-
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_logged_in|woocommerce_items_in_cart") {
17+
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|[a-z0-9]+_items_in_cart") {
1818
set $cache_uri 'null cache';
1919
}
2020
# Use cached or actual file if they exists, Otherwise pass request to WordPress

ee/cli/templates/w3tc-php7.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ if ($query_string != "") {
1010
set $cache_uri 'null cache';
1111
}
1212
# Don't cache URL containing the following segments
13-
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*.php|index.php|/feed/|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)") {
13+
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*\.php|index.php|/feed/|.*sitemap.*\.xml)") {
1414
set $cache_uri 'null cache';
1515
}
1616
# Don't use the cache for logged in users or recent commenter or customer with items in cart
17-
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_logged_in|woocommerce_items_in_cart") {
17+
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|[a-z0-9]+_items_in_cart") {
1818
set $cache_uri 'null cache';
1919
}
2020
# Use cached or actual file if they exists, Otherwise pass request to WordPress

ee/cli/templates/w3tc.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ if ($query_string != "") {
1010
set $cache_uri 'null cache';
1111
}
1212
# Don't cache URL containing the following segments
13-
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*.php|index.php|/feed/|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)") {
13+
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*\.php|index.php|/feed/|.*sitemap.*\.xml)") {
1414
set $cache_uri 'null cache';
1515
}
1616
# Don't use the cache for logged in users or recent commenter or customer with items in cart
17-
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_logged_in|woocommerce_items_in_cart") {
17+
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|[a-z0-9]+_items_in_cart") {
1818
set $cache_uri 'null cache';
1919
}
2020
# Use cached or actual file if they exists, Otherwise pass request to WordPress

ee/cli/templates/wpcommon-php7.mustache

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,3 @@ location /wp-content/uploads/ {
1919
deny all;
2020
}
2121
}
22-
# Yoast sitemap
23-
location ~ ([^/]*)sitemap(.*)\.x(m|s)l$ {
24-
rewrite ^/sitemap\.xml$ /sitemap_index.xml permanent;
25-
rewrite ^/([a-z]+)?-?sitemap\.xsl$ /index.php?xsl=$1 last;
26-
# Rules for yoast sitemap with wp|wpsubdir|wpsubdomain
27-
rewrite ^.*/sitemap_index\.xml$ /index.php?sitemap=1 last;
28-
rewrite ^.*/([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
29-
# Following lines are options. Needed for WordPress seo addons
30-
rewrite ^/news_sitemap\.xml$ /index.php?sitemap=wpseo_news last;
31-
rewrite ^/locations\.kml$ /index.php?sitemap=wpseo_local_kml last;
32-
rewrite ^/geo_sitemap\.xml$ /index.php?sitemap=wpseo_local last;
33-
rewrite ^/video-sitemap\.xsl$ /index.php?xsl=video last;
34-
access_log off;
35-
}

0 commit comments

Comments
 (0)