Let us know what you think, if you do try it out! There's plenty of areas of improvements to be had for sure. And feel free to ask, if anything 🙇
Let us know what you think, if you do try it out! There's plenty of areas of improvements to be had for sure. And feel free to ask, if anything 🙇
But these graphs aren't necessarily telling that story fairly.
But these graphs aren't necessarily telling that story fairly.
Sanity:
# of dependencies (1,050)
node_modules (535MB)
Much smaller build (732KB)
99% tree-shaken
Payload w/sqlite:
Dependencies (887)
node_modules (831MB)
Much larger build (8.8MB)
20% tree-shaken
Sanity:
# of dependencies (1,050)
node_modules (535MB)
Much smaller build (732KB)
99% tree-shaken
Payload w/sqlite:
Dependencies (887)
node_modules (831MB)
Much larger build (8.8MB)
20% tree-shaken
And most of these deps aren't bundled in the production build, because they are related to CLI tooling, dev server etc. Payload doesn't have a CLI.
A more "realistic" comparison is to look at a clean studio project vs a clean payload.
And most of these deps aren't bundled in the production build, because they are related to CLI tooling, dev server etc. Payload doesn't have a CLI.
A more "realistic" comparison is to look at a clean studio project vs a clean payload.
It's a trade-off: The live content API is built on our CDN infrastructure which scales globally and "for cheap". In that perspective, 1-2s is pretty good.
It's a trade-off: The live content API is built on our CDN infrastructure which scales globally and "for cheap". In that perspective, 1-2s is pretty good.
I reckon these are the `sanity` vs `payload` dependencies?
I reckon these are the `sanity` vs `payload` dependencies?