News for hackers. Stuff that matters.
Re:Making Websites Small by bryans on Wednesday December 01, 2021 @09:43PM (#29411901)
Depends on the site and content, for sure. This particular site is aggregating a subset of public profiles and posts from a social media network. To compare, the site I'm pulling the data from uses nearly 20MB to display a single uncached page of post titles and 2MB per subsequent page, while my site is able to display the entire userbase for a cost of 250kb and a single request for a ~5kb image on subsequent pages. The only difference is the choice of frameworks and component construction.
Re:Making Websites Small by qmmmur on Thursday December 02, 2021 @06:20AM (#29414792)
That's really great. Is it open source by any chance?
Re:Making Websites Small by bryans on Friday December 03, 2021 @10:21PM (#29438396)
The existing code is rather specific to that site, but I've considered making a more generalized version that could work for any small app.