-
-
Notifications
You must be signed in to change notification settings - Fork 117
Description
some e-commerce site require certain custom path to be excluded from cache. since SS always cache almost everything and hardcoded code, there is no function to add custom path to exclude from cache. please add this as soon as possible as its vital feature to exclude cache on certain url
i believe in the modules>nginx>sites>production.txt there are this code
## ENGLISH - sensitive wordpress urls should always skip the cache if ($request_uri ~* "index.php|/account.*|/cart.*|/checkout.*|/contact.*|/dashboard.*|/login.*|/my-.*|/order.*|/profile.*|/register.*|/settings.*|/view.*|/wc-api.*|/wp-admin.*|wp-.*.php") { set $skip_cache 1; }
in which allow custom url that can be skipped from cache. can you in a way make it easier for us to define any custom path to skip cache?