4 ms·
OT: we need to read more about your website-in-kv-thingy setup.
by _pmf_ 8y ago
OT: we need to read more about your website-in-kv-thingy setup.
- kentonv 8y agoIt was pretty trivial. I just stored each page into a value and served them out of there, with some stupid code to infer content-type from file extension. I meant it as a dumb demo because I wasn't feeling creative. I didn't know John would mention it in his blog. :) Currently this isn't a great way to serve content because the values are limited to 64k, you have to infer content-type (which makes your URLs ugly), etc. So I don't recommend it. We'll come up with something better in the future. :)