How big of a site can nanoc handle?

35 views
Skip to first unread message

Jim Mendenhall

unread,
Mar 10, 2012, 11:08:28 AM3/10/12
to na...@googlegroups.com
About how many pages/items can one have in a nanoc site before it becomes impracticable to deal with or slows down? Could one make a site that has thousands of pages/posts/items?

justin

unread,
Mar 10, 2012, 11:19:31 AM3/10/12
to na...@googlegroups.com
I have a site with ~3k items, and it currently takes a couple of
minutes to compile from scratch. Nanoc is faster on subsequent
compiles for most people.

Unfortunately, the way I built my site makes almost every page have a
dependency on almost every other page... this means that if I change
one thing, it has to recompile the whole site anyway :)

Assuming you don't do that, it's quite usable at several thousand items.

-- justin

> --
> You received this message because you are subscribed to the nanoc
> discusssion group.
>
> To post to this group, send email to na...@googlegroups.com
> To unsubscribe from this group, send email to
> nanoc+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nanoc?hl=en

--
http://justinhileman.com

Denis Defreyne

unread,
Mar 10, 2012, 2:52:52 PM3/10/12
to na...@googlegroups.com
Hi Jim,

I believe static site generators are inherently limited in the maximum number of pages they can handle. This is because there always is a separate compilation step, and the time spent compiling increases at least linearly with the number of items a site has. A site with more than a few thousand items will likely become tiresome to maintain after some time.

Having said that, there are people who have nanoc sites with a few thousand items. nanoc is somewhat smart about recompilation (only recompile items that were modified since the last compilation), so that helps. There are a few roadmap items that will make smarter about what to recompile and when, which will bring incremental compilation times down quite a bit.

Regards

Denis

On 10 Mar 2012, at 17:08, Jim Mendenhall wrote:

> About how many pages/items can one have in a nanoc site before it becomes impracticable to deal with or slows down? Could one make a site that has thousands of pages/posts/items?
>

signature.asc
Reply all
Reply to author
Forward
0 new messages