Docusaurus build cache
@Sebastien Lorber It should be quite straighforward to add, I'll give it a whirl this weekend ๐๐
7 Replies
We can use this thread to keep track of this if that works for you ๐
thanks ๐
no problem ๐๐
@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...
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?)
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
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?