Cant exclude from cache by CPT category




Wordpress LScache Plugin: Cant exclude from cache by CPT category

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, I want to exclude some Woo Products that are password protected from the cache as the WP password mechanism seems not to work when cached ? always get password screen even when entering correct password. All products are in a custom post type (CPT) category (not the default Posts cats) so I could use the Cache | Do Not Cache Categories except it only seems to work with default Post categories. Does anyone know if there is a way to exclude pages from cache that are password protected or using CPT categories? Any help appreciated, thanks, Colin Litespeed: 3.6.4 WP: 5.7.2 PHP 7.4 Hi, please provide the report number , you can get it in toolbox -> report -> click send to LiteSpeed and also please in the report note , provide a sample link with passwd protection and the password to access Best regards, Hi. details below as requested. Report number: ZMWPSAWC Report date: 07/14/2021 10:02:48 thanks, Colin Hi, May I know what was the string you used on category excluding ? and what is the category link ? Best regards, Hi, the Woo Product category name and slug is hide-from-search . There is no category archive page. The category definition can be seen in this screen shot of the cat edit page: https://snipboard.io/azj1bQ.jpg -C Hi, Could you please confirm me what is your server environment if you know ? like webserver, control panel ?etc Best regards, Hi qtwrk ? thanks for the support. Heres the server details ? hopefully this has everything you need. -C WP Env Server info: LiteSpeed PHP version: 7.4.21 PHP post max size: 256 MB PHP time limit: 300 PHP max input vars: 8000 cURL version: 7.71.0, OpenSSL/1.1.1d SUHOSIN installed: ? MySQL version: 5.5.5-10.3.30-MariaDB Max upload size: 256 MB` Server Information Item Detail cPanel Version 96.0 (build 11) Apache Version 2.4.48 PHP Version 7.4.19 MySQL Version 10.3.30-MariaDB Architecture x86_64 Operating System linux Perl Version 5.16.3 Kernel Version 3.10.0-962.3.2.lve1.5.39.el7.x86_64 Hi, Could you please temporarily disable QUIC cloud CDN ? I want to check if the issue comes from CDN or Origin Best regards, Hi qtwrk. I have disabled it via the LS CDN config. Also purged the cache. -C Hi, please create a ticket by mail to support at litespeedtech.com with reference to this topic , we will investigate it further Best regards,



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference