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

Wildcard or REGEX in the URL Exclusion List #6

Closed
jimhill10 opened this issue Feb 22, 2018 · 4 comments
Closed

Wildcard or REGEX in the URL Exclusion List #6

jimhill10 opened this issue Feb 22, 2018 · 4 comments

Comments

@jimhill10
Copy link

Is it possible to have a wildcard or REGEX in the URL exclusion list? Every one of our page URL's containing the word "thank" is excluded. We would also like to exclude, if possible, any page already tagged with the URL "nocache."

@WuhuaChen
Copy link
Collaborator

OK, we'll implement this feature later and notify you.

@jimhill10
Copy link
Author

Thanks so much. I am testing the plugin right now and will report back any other issues.

@WuhuaChen
Copy link
Collaborator

In our new release, in the URL exclusion list, now we support REGEX, or a sub-string of target URL as well. thanks.

@jimhill10
Copy link
Author

I test 1.01 and this works perfectly with a few of the simple REGEX's we have. In my case we just had two, one was the standard "nocache" which was carried over from the former htacess method. Another was a unique URL term we always use in form submission thank you pages to prevent them from being cached. Tested this is an it works as expected with no cache hit on those pages.

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