template-axum-htmx-tailwind
template-axum-htmx-tailwind copied to clipboard
Thank you and some improvements showcase.
I have recently reached a point of usability on my little project, where I was testing an overlapping tech stack.
I used parts of this template and thank you for it.
I did some improvements to:
build.rsscript:- I don't remember the details but there was something off there
- I added ability to override the assets dir by e.g. distros
- cache loader
- IIRC it did not correctly handle clients that didn't support brotli (e.g. curl)
- I optimized loading by not using blocking IO in async code and loading things in parallel (
buffered), which lowers the startup time from like 40ms to 5ms on my VPS
- fixed rate limiting behind nginx
- added support for systemd socket activation (basically running only on demand): stop on idle, and listenered passed as fd 3
Sorry for not submitting PRs, but I'm very limited with time, and I guess it requires some discussion beforehand anyway first.