-
Notifications
You must be signed in to change notification settings - Fork 27
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
Would you like to configure how often the plugin looks for webmentions? #31
Comments
I think that would be useful, and if I'm reading correctly, an option would be to only check for webmentions for last X days? A 12 year old blog with some crufty links from the early days don't really need to be checked in my own anecdotal experience. |
Actually I was thinking about pausing all lookups for a period of time. It webmentions:
throttle_checks:
last_year: daily
older: monthly It’s possible. It’d be interesting to see if folks would be interested in |
👍 definitely would be nice for local dev. My build times had gotten really long & I was basically attributing it to all the links/posts it was checking. I'm about to do another Jekyll site for small project and look forward to testing out the new gem. Thanks for all the work on it. |
I went ahead and added the basic pause in 2.1.0: https://github.com/aarongustafson/jekyll-webmention_io#pausing-lookups |
I'd like throw a +1 in for 'don't do older posts'. Even if it's just a really simple thing like "don't check before date X" |
You do run the risk of losing stuff @ that point though. Plus, FWIW, I’ve
implemented `since_id` in the queries to webmention.io, so the script will
have a reduced amount of processing to do (which will speed it up immensely
as before it was re-processing a constantly growing list of mentions).
|
Hrmm, that's fair. I guess my use case was that if it's an old post from like 2003 or something I don't know if I care. But that's probably not entirely true now that I think about it.
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Aaron Gustafson <notifications@github.com>
Sent: Tuesday, July 18, 2017 2:48:30 AM
To: aarongustafson/jekyll-webmention_io
Cc: alias1; Comment
Subject: Re: [aarongustafson/jekyll-webmention_io] Would you like to configure how often the plugin looks for webmentions? (#31)
You do run the risk of losing stuff @ that point though. Plus, FWIW, I’ve
implemented `since_id` in the queries to webmention.io, so the script will
have a reduced amount of processing to do (which will speed it up immensely
as before it was re-processing a constantly growing list of mentions).
On Fri, Jul 14, 2017 at 6:32 AM, alias1 ***@***.***> wrote:
I'd like throw a +1 in for 'don't do older posts'. Even if it's just a
really simple thing like "don't check before date X"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEn2JMxV4c8jYQYuol7WfLVqI7Km0Isks5sN0OpgaJpZM4OFwDb>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#31 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAuA43-5etJCSjFC-sJh2IjIbZRvksUjks5sO5BegaJpZM4OFwDb>.
|
I am going to begin working on this, but just an FYI: I have implemented |
I am working on this feature right now. First pass is in the
This should let you get crazy granular: webmentions:
throttle_lookups:
last_week: daily
last_month: weekly
last_year: every 2 weeks
older: monthly If you get a chance to try it out, I have the logging on by default right now so we can see if it is working as expected. I should be able to test it within Jekyll by Monday at the latest. |
Sorry for the delay. I’ve run it through the test site and so far so good. Gonna try it on my own site now. |
Looks good and damn does it speed things up! I’ll add the details to the docs and bump to 2.7.0. |
Sounds great! Haven't touched my blog for a bit, but might get a chance this weekend so will try it then :) |
Just wondering if it might be useful for speeding things up when you are debugging a build. Could be a configuration option like
skip_webmention_collection_for
and take a number of days as an argument.The text was updated successfully, but these errors were encountered: