We have released a preview build of a new DFX feature that I personally am very excited for: support for large files in asset canisters powered by HTTP requests!
TLDR - we have released a preview build of a new minor version of DFX, 0.7.0-beta.2, that will upgrade our current asset canister model to one that allows you to serve arbitrary static assets, and removes the 2MB limit.
Where can I always find the latest docs on the frontend limitations etc? I was looking for the documentation for the 2mb max file size and none own index.html and luckily found this announcement
Would be nice to figure this things out myself through the docs, if there are any limitations or anything that might be relevant like that.
The docs are being overhauled for the latest releases, these shouldn’t be long now. It was all hands on deck getting things ready for genesis but things are catching up now and will be back in sync.
Something else I was wondering about (which I’m sure will be covered in the docs) is the possibility of pointing domain names at canisters. I assume this will be possible.
The first section of my blog post should be useful for any tooling that outputs to a build directory that can be hosted. Gatsby just happens to be my favorite.
Custom DNS is coming, but we had to push it back in favor of more critical stuff for launch
Gatsby is cool, but for the leanest, meanest, most accessible static sites, I have fallen for 11ty. I’m looking forward to running some web vitals testing to see how Canister hosted sites stack up against the likes of Netlify.
There are so many interesting projects that I would like to experiment with. Once I have basic site hosting working I’m interested to experiment with using Canisters to take the place of traditional JavaScript serverless functions for things like email processing and even dynamic page generation.