EXCLUDE all pages




Wordpress LScache Plugin: EXCLUDE all pages

Last Updated on: Wed, 15 Apr 2026 00:00:02
Please give me an easy toggle switch to exclude caching of content types: posts, pages, products, etc. Mainly, Im looking for the ability to exclude all PAGES. The reason being that I have private pages for a WPML site and logged in users keep seeing each others content no matter what options I try (ESI, etc). PS: Im an advanced user running on LS ownership license, btw. If those private pages are created by your php scripts, I think you can send LiteSpeed_Cache_API::set_cache_private() to make other users cache copies wont be polluted. Lol?umm, where do I put that? Or was that a CLI command? Put into your private pages template file. The purpose is to claim those pages cache private. This is a better way than just excluding all pages. Also, if you did want to exclude products pages from caching, you can add the prefix of those pages. They should have a /product/ prefix in url.



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



Reference