Are the HTML-pages cached?
cyfyrifilefe opened this issue · 3 comments
Hello, thanks for your work.
I have some questions:
- Are HTML-pages cached.
- If yes, where?
- If not, what code to add and where for caching them?
Cheers,
Lyric ;-)
Hi!
The pages are not cached. It would be really hard to figure out when to invalidate the cache. The linkcheck
tool kind of assumes now that you're running it locally on your whole site, trying to check all of it. It should be fast enough that we don't need caching.
What's your use case for caching, exactly?
The code for caching would probably live somewhere around https://github.com/filiph/linkcheck/blob/master/lib/src/worker/pool.dart.
Hi Filiph,
thank you for your response.
I'd like to add some spell-checking on the downloaded HTML pages. Since I don't know Dart. I thought that maybe the pages were cached somewhere.
Ah, got it, thanks for the explanation!
I'd like to add some spell-checking on the downloaded HTML pages.
That would be hard to include in linkcheck
without making things slower & more complicated. For spell checking, I think wget
or curl
is probably a better option.
I'm closing this, at least for now.