I added that as an example for simple raw html/text.. I’d use _redirect specs if real redirect is required.. simple use case is for tiny onchain generated HTMX/HTML snippets and json data. Real use case for longer inlined raw/identity CID’s is for linking multiple cids (pinned offchain) as single directory using raw dag-pb/dag-cbor.
eg,
Cidv1.raw.dagCborLinked({“index.html”:“/CID<index.v2.html>”, “s.css”:“/CID<style.v2.css>”, “a.js”:“/CID<app.v3.js>”, “img”:“”/CID"})
4x linked CID = 36 * 4 + label length + bit extra space for prefix and cbor or pb tags.
__
I’ve gone through this IPIP-0512 docs.
it’d be really nice to have at least 256 bytes, ~512 bytes max is bit too much leg room to ask for.