• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question How to use wildcard for cookies names on Nginx cache settings

Kaspar

API expert
Plesk Guru
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?
 
I also tried several common wildcard operators, none of those worked.
It would be nice if this gets addressed.
 
Back
Top