For example let’s say you wanted to fetch a blog’s data organized like this:
{
title: 'my blog',
description: 'this is my blog',
links: {
'post 1': <cid>,
'post 2': <cid>,
etc...
}
}
instead of:
{
links: {
'metadata': <cid>,
'post 1': <cid>,
'post 2': <cid>,
etc...
}
}
you could store the blog metadata and the links to posts as a single block / folder, assuming it’s under 1mb, which would mean you have access to the metadata by just downloading a single block, which is faster than downloading the folder, then the metadata file.
unless there’s no significant speed difference between downloading 1 block and 2 blocks one after the other?
I know with IPLD you can make blocks with both metadata and links, but it seems complicated to reimplement all of unixfs just for this?