I am struggling a bit to get the cache settings right for Nginx in Plesk.
Within Plesk on the Apache & nginx Settings page in the Cache requests with cookies field it is possible to list cookies that you'd like Nginx to ignore when caching. As described in the Plesk documentation. This is a use full feature, but seems to have some limitation. For example I'd like to add the wp_woocommerce_session cookie to this list. However, the actual name of this session cookie differs, because it has to be unique. The full cookie name is something like wp_woocommerce_session_51462acbe1585f247ee5b2c7debc11e3. Uniquely named for each vistor.
Unfortunately adding wp_woocommerce_session_* to the list doenst work as a wild card. This leaves me wondering how to get around this limitation? Are wildcard not possible at all in listing cookies? Are there any other options to accomplish Nginx caching when the wp_woocommerce_session is used?
Within Plesk on the Apache & nginx Settings page in the Cache requests with cookies field it is possible to list cookies that you'd like Nginx to ignore when caching. As described in the Plesk documentation. This is a use full feature, but seems to have some limitation. For example I'd like to add the wp_woocommerce_session cookie to this list. However, the actual name of this session cookie differs, because it has to be unique. The full cookie name is something like wp_woocommerce_session_51462acbe1585f247ee5b2c7debc11e3. Uniquely named for each vistor.
Unfortunately adding wp_woocommerce_session_* to the list doenst work as a wild card. This leaves me wondering how to get around this limitation? Are wildcard not possible at all in listing cookies? Are there any other options to accomplish Nginx caching when the wp_woocommerce_session is used?