22 Commits

Author SHA1 Message Date
Miaosen Wang
e62a66282b spelling error 2025-10-16 01:52:03 -07:00
admarty
574070ca5b do not cache wishlist 2024-01-09 00:12:34 +07:00
James Nylen
74d48c10c1 Do not cache requests with Authorization header set 2023-07-23 02:26:40 +00:00
VirtuBox
578396e491 Merge pull request #371 from bob-swinkels/master
Escaping of metacharacters in regex strings in wo/cli/templates/map-wp.mustache
2021-09-15 19:02:43 +02:00
Yogesh Beniwal
0030856d72 Cache exception for PWA Service Worker 2021-07-16 23:24:06 +08:00
Bob Swinkels
cbe42ab2bb Fix wildcard character in regex strings.
The map directive contains regexes (strings starting with a tilde) that
contain 'asterisk' characters. In a regex, the asterisk character is a
metacharacter, and in this context, it is meant as a wildcard character.
To achieve the desired result, we should place a dot in front of the
asterisk character.
2021-04-19 15:36:38 +02:00
Bob Swinkels
8403af51f5 Fix escaping of regex metacharacters.
The map directive contains regexes (strings starting with a tilde) that
contain 'dot' characters. In a regex, the dot character is a
metacharacter and should be escaped by putting a backslash before it.
2021-04-19 15:25:28 +02:00
VirtuBox
3d32e02c65 Improved query strings caching 2020-10-25 14:19:08 +01:00
Morgan
e0b9b06d0c Updated caching rules
Removed `/edd_action` as it's actually `/?edd_action` a query string. They are removed by default.

Removed `/checkout` as we already have /checkout/ (One of my plugins has the URL of /checkout-countdown../ and was never cached.) 

Added `/account/` as it's a common page that shouldn't be cached.
2020-03-22 19:28:56 +08:00
VirtuBox
01ee8c0a13 v3.11.0 (#211)
- PHP 7.4 support
- Improved Webp images support with Cloudflare (Issue [#95](https://github.com/WordOps/WordOps/issues/95)). Nginx will not serve webp images alternative with Cloudflare IP ranges.
- Stack upgrade for adminer
- Check acme.sh installation and setup acme.sh if needed before issuing certificate
- Add `--ufw` to `wo stack status`
- Add Nginx directive `gzip_static on;` to serve precompressed assets with Cache-Enabler or WP-Rocket. (Issue [#207](https://github.com/WordOps/WordOps/issues/207))
- Previous `--php73` & `--php73=off` flags are replaced by `--php72`, `--php73`, `--php74` to switch site's php version
- phpMyAdmin updated to v4.9.2
- Adminer updated to v4.7.5
- Replace dot and dashes by underscores in database names (Issue [#206](https://github.com/WordOps/WordOps/issues/206))
- Increased database name length to 32 characters from domain name + 8 random characters
- typo error in motd-news script (Issue [#204](https://github.com/WordOps/WordOps/issues/204))
- Install Nginx before ngxblocker
- WordOps install/update script text color
- Issue with MySQL stack on Raspbian 9/10
- Typo error  (PR [#205](https://github.com/WordOps/WordOps/pull/205))
- php version in `wo debug` (PR [#209](https://github.com/WordOps/WordOps/pull/209))
- SSL certificates expiration display with shared wildcard certificates
2019-12-03 19:48:18 +01:00
VirtuBox
c60d4e306a Improve Nginx service management 2019-08-27 12:32:48 +02:00
VirtuBox
1601cbb574 Update wpce & wprocket template 2019-08-19 18:15:07 +02:00
Morgan
6358846bc3 Don't cache edd_items_in_cart and edd-sl requests 2019-08-19 10:33:02 +08:00
VirtuBox
25c1d8a19b Add Cache-Enabler support 2019-08-15 19:59:23 +02:00
VirtuBox
a0101e2760 Few improvements
* Fix netdata config files owner
* Increase net backlog in sysctl.conf
* force wo-kernel tweak update during upgrade
2019-08-15 00:42:49 +02:00
VirtuBox
279112c38a Additional cache exception for Woocommerce 2019-08-14 18:42:19 +02:00
VirtuBox
09b39b2f9b Fix typo 2019-08-09 00:17:42 +02:00
VirtuBox
fa826224af Fix wprocket 2019-08-09 00:17:42 +02:00
VirtuBox
304a31b8e8 Implement --wprocket
* cleanup templates by using variables
* add configuration for wp-rocket
* update mapping for wp-rocket
2019-08-09 00:17:24 +02:00
VirtuBox
9de375ef58 fix netdata 2019-04-23 19:03:42 +02:00
VirtuBox
a2e6f02795 simplify locations nginx template 2019-03-27 04:58:25 +01:00
VirtuBox
6ecd231974 add map-wp.mustache 2019-03-06 15:38:43 +01:00