Hacker News new | ask | show | jobs
by mtmail 2894 days ago
Less on the app structure, but more specific to hackernews: the source code is open https://news.ycombinator.com/item?id=14371189, more pointers in https://news.ycombinator.com/item?id=14371821

The source code of https://lobste.rs/ is also open source and from a feature point-of-view pretty similar. https://github.com/lobsters/lobsters

> building each site from the model data each time a link is clicked would be a huge waste of server resources

It's typically still done. Forums are 90+% read, little write and caching the rendering output gives a huge boost.