Docusaurus build cache

@Sebastien Lorber It should be quite straighforward to add, I'll give it a whirl this weekend ๐Ÿ™‚๐Ÿ‘
7 Replies
Dario
DarioOPโ€ข7mo ago
We can use this thread to keep track of this if that works for you ๐Ÿ™‚
Sebastien Lorber
Sebastien Lorberโ€ข7mo ago
thanks ๐Ÿ˜‰
Dario
DarioOPโ€ข7mo ago
no problem ๐Ÿ™‚๐Ÿ‘
Dario
DarioOPโ€ข6mo ago
@Sebastien Lorber I've implemented the thing as I commented here ๐Ÿ™‚ https://github.com/facebook/docusaurus/discussions/10159#discussioncomment-9564523
GitHub
3000 documents too much for Docusaurus? ยท facebook docusaurus ยท Dis...
Hi, I'm wondering if 3,000 documents would be too much to handle for Docusaurus on build? How long do you think such a build would take and is there some sort of upper limit of docs where docus...
Dario
DarioOPโ€ข6mo ago
but I haven't actually tested this, could you advice me on the simplest dumbest way to verify that the caching is working? ๐Ÿ™‚ (as in is there a way to get some logs in the docusaurus build command for that? and does the caching always kicks in?)
Sebastien Lorber
Sebastien Lorberโ€ข6mo ago
hey @Dario thanks for the quick update afaik there's no way to see caching is enabled, you only see it build faster with a hot cache or at least if there is something it's from Webpack and I don't know about it. We have a "configureWebpack()" hook to tweak the webpack config so maybe there's a way to turn more verbose webpack logs
Dario
DarioOPโ€ข6mo ago
I see... I guess I can just test it by checking the build time then is the cache speedup going to be evident with a hello-world like app? or maybe you have a big app that you can share that should make the speedup obvious?
Want results from more Discord servers?
Add your server