Matthias Endler
Matthias Endler
> There might also be similar bugs for other flags which affect URL resolution. However, since the cache is only used for remote URLs (I think?), --fallback-extensions and --index-files do...
> I think the best solution would be to change the cache keys to be addresses of HTTP requests which are actually sent (in effect, this would be after remaps)....
Yeah, the yellow and green only work well on dark backgrounds. 🤔 I wonder if there's a "theme switcher" which detects the background color.
> IIRC Apple's Terminal has a paper like theme, or maybe it was iTerm2 🤷 Yes, the paper-like Apple Terminal theme is called `manpage`. It's... something. > We overwrite "yellow"...
Unfortunately, that is not possible due to limitations of the underlying libraries, namely https://github.com/servo/html5ever/issues/48 and https://github.com/untitaker/html5gum/issues/10. I think you need to try your luck there first. 😕 [pulldown-cmark supports spans...
> If I understand this correctly, lychee creates a list of URLs to test, makes an async call to servo which then test if they're up or not. Not quite....
Closing this as there is currently no way to support this feature due to upstream crate limitations. We can revisit at a later point in case the tools support it.
> I've removed `cache_max_age`, see [47d8b65](https://github.com/lycheeverse/lychee/commit/47d8b65ddbae4c72cec6998e8ae5cc09285eb705). As explained in the commit message I don't see why it is needed. You're right. Makes no sense. Similar to limiting the window-size, I...
Great work! Can we set a different default for GitHub? As per their docs, they allow [up to 100 concurrent requests](https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#about-secondary-rate-limits) and many of our users use lychee to check...
One more note: have we checked that caching still works? E.g. do the links end up in the cache file at the end?