-
Notifications
You must be signed in to change notification settings - Fork 1
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
Watered-Down Regex Syntax #94
Comments
@jaswsinc writes (on Slack)...
|
|
@kristineds This article should also contain the list of definitions somewhere at the top; i.e., what each special character is used for as a primer; just in case this article is found before you see the list of special characters that we have in the Dashboard. |
@raamdev @jaswsinc: KBA has been updated with the following:
Would love to hear your feedback on this. :) |
@kristineds Looking great! Here's some feedback:
|
@raamdev Those points have been added on the KBA. Please review when you get a chance. |
@kristineds I worked to help you improve the introductory paragraphs and heading structure. I made some changes above. Please review and make any additional adjustments that you'd like, then post a reply to let us know that you're ready for a final review. Here are some additional suggestions/observations:
I would remove that and instead explain what
I would remove the ", I can do that now!" part of this. Not needed in this article.
Remove the extra for.
A URL starts with |
@jaswsinc
Thank you! Looks so much better than before. 👍 @raamdev: I'm not 100% sure on the examples I wrote for Specific URLs though. Please review. :) |
@kristineds One thing to watch for when copy/pasting is accidentally copying "fancy quotes", which look different than regular quotes: Notice how that second double-quote looks different from the first one? Please delete that and replace it with a regular one.
This looks wrong to me:
I think you misunderstood what Jason said when he was replying to your **https://www.**domain.com/my-account The |
Sorry, that is not correct. The |
@raamdev I updated it to this:
|
@kristineds Thank you. I'll take it from here. :-) Nice work on this article! I'm marking this approved as of 2015-11-12. |
@kristineds KB Article has been published here: http://zencache.com/kb-article/watered-down-regex-syntax/ My edits are here in case you'd like to take a look: f8973c0...50a10d0 |
@jaswsinc In Sitemap URI Examples, the pattern
Wouldn't we need to use |
Yes, that is wrong. I think I gave Kristine bad information on this by mistake whenever I was showing examples of the new syntax. Sitemap "URIs" should be entered as "URIs" and not as URLs. The URIs that you list there are inclusion patterns, and they are parsed just like URI exclusion patterns are. What I was trying to convey in that note about the scheme, is that ZenCache always deals with both schemes automatically. It's actually a bit easier to understand this is you think about it in the context of a URI exclusion pattern, not with a Sitemap URI inclusion. For instance, if you exclude:
That excludes this URI across all domains, and across all schemes. There is no need to enter the domain name, and no need to enter the scheme. However, full "URLs" do come into play in a list of Custom URLs that you want to clear. For instance, if you provide a list of Custom URLs that should be cleared automatically. Or, if you want to clear a Specific URL from the admin bar, you are typing in the full URL. You can be specific about the domain in this case.
↑ Note: This also clears the cache for both schemes, even though you only gave ↓ In other words, this is not necessary; it always happens automatically:
In fact, if you use a wildcard for the scheme it will not work at this time. |
There is still room for improvement in these routines. I am already seeing some potential conflicts between the intended functionality (i.e., what we have in the article) vs. what actually takes place. The article doesn't need to be updated (I don't think), but the codebase could use some minor tweaks. Opening bug report here: wpsharks/comet-cache#611 |
@kristineds Nice work on this article. Thanks for helping us put this all together! 😃 |
@jaswsinc writes...
So this statement about mapped domains in the Sitemap URIs section is also wrong, correct?
|
Correct. URIs only, not full URLs. Any domains mapped to the current site are cleared automatically.
Whenever the cache is cleared for Child Site A, the following are cleared automatically:
|
Regarding this change in the latest release. The interpretation of If you can double-check me on those option updates, I'd appreciate it. I see that I excluded sitemaps from the upgrade routine. If I remember correctly, that was because |
@jaswsinc Thanks for all your feedback here. :-) I rewrote the XML Sitemap Patterns section of the KB Article (see b79424e). |
I'm noting that this line in the KBA seems out of context.
|
KB Article Creation Checklist
draft
and eitherquestions
ortutorials
draft
label, adddraft-finalized
label)draft-finalized
label, addpending
)pending
label, addpublished
label)Additional TODOs
KB Article Published @ zencache.com
📃 See: Watered-Down Regex Syntax
The text was updated successfully, but these errors were encountered: