4 ms·
Also, consider using Rails and Turbolinks if you're familiar with them. You can get pretty far with turbolinks and the responsiveness is similar to a single pag
by tdeck 5y ago
Also, consider using Rails and Turbolinks if you're familiar with them. You can get pretty far with turbolinks and the responsiveness is similar to a single page app.
- andreygrehov 5y agoThanks for the advice. I use Go on the backend, but couldn't resist some "fanciness". I embed all the html/css/js/images files into a binary and serve everything from memory. Zero disc reads. It's blazing fast. Also, deploying the entire website becomes painless – scp the binary and restart the process.
- selcuka 5y agoYou can still benefit from something like https://github.com/instantpage/instant.page https://github.com/instantpage/instant.page as a poor man's replacement of Turbo(links).
- zeepzeep 5y ago> I embed all the html/css/js/images files into a binary and serve everything from memory. Zero disc reads. It's blazing fast. I do that too. A friend "stole" that idea from the tour of go, I really like it. Just go generate before building to make add static files, go build, done. 1 binary, it just works.
- psd1 5y agoSurely modern OSes cache files as memory-mapped files...? Given the availability of physical memory?