One issue with OCFL v1.x is that the inventory.json can get quite large-- especially when there are many versions, version files, and you add fixity to the mix. A more compact format is possible by removing duplication of digests and file paths. This is illustrated in the structure below, which is based on the spec-ex-full fixture. The original inventory is 3773 bytes, the alternative structure is 2217 bytes- almost half the size despite carrying the same information.
One issue with OCFL v1.x is that the
inventory.json
can get quite large-- especially when there are many versions, version files, and you add fixity to the mix. A more compact format is possible by removing duplication of digests and file paths. This is illustrated in the structure below, which is based on thespec-ex-full
fixture. The original inventory is 3773 bytes, the alternative structure is 2217 bytes- almost half the size despite carrying the same information.Edit:
Perhaps a cleaner structure for the manifest entries would be like: