News for hackers. Stuff that matters.
Re:AI Is Stifling Tech Adoption by breckenedge on Friday February 14, 2025 @01:25PM (#43051419)
Have you ever worked for a place that cared about meeting CWV? Poor JS performance will definitely hurt rankings.
Re:AI Is Stifling Tech Adoption by SiliconSplash on Monday February 17, 2025 @03:44AM (#43076675)
Yes. It was one contract only and I was the lead frontend dev.

I wrote a very lightweight JS framework (it was just a few classes really) so we could have plugins. A plugin implemented was just an object that implemented an interface, I also wrote a poor man's React for two or three pages that needed to build a lot of DOM Dynamically.

At launch the site was getting basically 100 on the lighthouse tests with the gzipped CSS and JS coming it at ~80KB. Of course that lasted for a week because people will put up a huge image that hasn't been optimised for the web.

The site was fast because I wrote it like a website from mid-2000s. Everything was basic OOP and almost all the code was procedural.