Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setting to exclude URLs/pages from caching #28

Open
maicol07 opened this issue Nov 23, 2022 · 1 comment
Open

Add setting to exclude URLs/pages from caching #28

maicol07 opened this issue Nov 23, 2022 · 1 comment

Comments

@maicol07
Copy link

Hi,
Can you add a way to specify some URLs or pages that should be ignored by caching?
Thanks

@yoyo-rk
Copy link

yoyo-rk commented Mar 22, 2023

You can usually set this in the LSWS admin console, if you have access to it. You can disable caching for specific urls in .htaccess for a no-plugin cache etup, but I'm not sure what happens if there is a conflict between what Drupal/LSCache say to cache and what .htaccess says not to don't cache. You'd have to do some testing to see. Here's the documentation on not caching certain urls in .htaccess:

https://docs.litespeedtech.com/lscache/noplugin/settings/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants