3 ms·
I love it. And it's telling of modern practices that it's one of the fastest forum I've used in the past few years, you click and the page instantly appears! D
by ad404b8a372f2b9 4y ago
I love it. And it's telling of modern practices that it's one of the fastest forum I've used in the past few years, you click and the page instantly appears!
Do you intend to extend it and keep working on it or was it just a one off project?
- lolinder 4y ago> And it's telling of modern practices that it's one of the fastest forum I've used in the past few years, you click and the page instantly appears! "Modern practices make for slow apps" is a common trope on HN, but it's important to note that it's not just modern practices that make modern web apps feel slow; modern feature sets are the larger culprit. This app could be a React SPA and it would still be faster than most forums you've used because it intentionally has a minimal feature set.
- GoblinSlayer 4y agoFeature set is absolutely design practice.
- ad404b8a372f2b9 4y agoI don't buy that for a second to be honest. Modern forums haven't innovated all that much, you have infinite scrolls, notifications and live updates, that's all that I can think of, off the top of my head. If you go on the main page of a modern forum and a Phpbb one they'll be functionally equivalent for the end user. And even if they had innovated, you can put as big a feature set as you want on the backend and not send 20Mb of JavaScript along with a single request per post and your page will load instantly. And that's not even going into all the websites which are entirely featureless, I regularly see SAAS landing pages that take over a minute to fully load, that's just to display text and images. Maybe the stack is capable of being fast and light theoretically but it never is in practice.
- lolinder 4y ago> Modern forums haven't innovated all that much... I'm not comparing modern forums to older forums, I'm comparing both types of forum to OP's minimal forum. > And even if they had innovated, you can put as big a feature set as you want on the backend and not send 20Mb of JavaScript along with a single request per post and your page will load instantly. You have to distinguish between initial page loads and subsequent interactions. Forums are not typically one-page-and-done websites: you spend a lot of time navigating around the different views. For this use case, phpBB forums were and are very slow. I tested out the phpBB demo [0] and compared it with the Discourse demo [1]. The Discourse demo has a slow initial load, but it's quite snappy after you've downloaded the 6.23mb (not 20mb!) of JS and CSS. The phpBB demo seems faster on the initial page load, but it gets pretty painful to navigate as you click around into different sub-forums. The reason why the OP's no-JS forum can outperform both phpBB and Discourse is primarily that it doesn't do very much work on each user action, not that its stack is inherently superior. The biggest bottleneck in a forum will be the speed of each request-response cycle, not whether the requests return JSON or HTML. [0] http://www.try-phpbb.com/33x/index.php http://www.try-phpbb.com/33x/index.php [1] https://try.discourse.org/ https://try.discourse.org/
- svnpenn 4y ago> it's quite snappy after you've downloaded the 6.23mb (not 20mb!) of JS and CSS The pbpBB page you linked downloads 330 KB. Or you can disable JavaScript (and the page still works), and it only downloads 156 KB. Discourse sucks.
- demindiro 4y agoI will keep working on it. There is a lot more interest than I anticipated.