Mini Shell
#
# WordPress/Generic
# ngxconf Caching Profile
#
---
id: wordpress
name: "WordPress/Generic"
description: >
General-purpose caching profile with wide compatibility for
most WordPress and WooCommerce websites. For best results,
be sure to use a plugin such as W3 Total Cache or nginx-helper
to manage cache purging when pages are updated.
config:
pass_all: false
cache_time_default: 14400
accel_static_content: false
bypass_cookies:
- _logged_in_
- items_in_cart
- jsid
cache_bypass_paths:
- .*/wp-admin
- .*/administrator
- /admin
- /user
- .*/wp-cron\.php
- /.*login\.php
- /opcache\.php
- .*/xmlrpc\.php
- .*/phpinfo\.php
- /basket.*
- /cart.*
- /my-account.*
- /checkout.*
- /addons.*
ratelimit: 15
ratelimit_paths:
- /.*login\.php
- .*/xmlrpc\.php
- .*/wp-cron\.php
static_content_paths:
- /wp-content/uploads
cache_convert_head: true
cache_honor_cc: false
cache_honor_cookies: true
cache_honor_expires: false
cache_lock_enable: true
cache_time_404: 10
cache_time_modsec: 0
force_passthru: []
gzip: 3
brotli: 4
Zerion Mini Shell 1.0