• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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