How to exclude only the root directory




Wordpress LScache Plugin: How to exclude only the root directory

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hello, I want exclude from cache only the root of the domain: https://domain.com and https://domain.com/ I cant make it work, I try with: ^/$ and ^$ but dont work, these or exclude ALL or not exclude the / Its clear what need I do ? I need disable caching for the root domain with / and without but not to all the pages. Hi, Please try /$ Best regards,



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



Reference