#Scaling to thousands of markdown docs with content collections

5 messages ยท Page 1 of 1 (latest)

dense sequoia
#

Hi all ๐Ÿ‘‹ I've been exploring porting a large blog to Astro. Unfortunately, I've been running into speed and memory issues when the number of docs gets into the thousands. I've been using plain markdown docs (not MDX) with content collections. Issues with npm run dev and npm run build. Are there any tips for working with large collections? Or alternatively, guidelines for doc/collection limits?

orchid wave
#

I started an initiative to analyze scalability to thousands of pages in this project https://github.com/MicroWebStacks/astro-examples#25_markdown-scale
basically a python script generates a different number of pages, builds different configurations then saves the results in json I published some examples results here https://microwebstacks.github.io/astro-examples/
well, don't expect miracles, you never know exactly when it stops until you try and it fails, but when it come to such large scale project a serious analysis would be required before, with multiple fallback strategies

#

I started with mdx and md, .mdoc was on the pipeline but the progress now stalled, prs are welcome ๐Ÿ˜‰

dense sequoia
#

Thanks @orchid wave, this is a great resource! I'll dig into it more after work ๐Ÿ™

dawn jackal