You Can Save At Least 40% By Externalizing The CSS

You Can Save At Least 40% By Externalizing The CSS
ai-memes, frontend-memes, webdev-memes, css-memes, html-memes | ProgrammerHumor.io

So we're optimizing LLM token consumption now by... using external stylesheets? The same practice we've been preaching since 2005? Incredible. The AI era has brought us full circle to basic web development best practices, except now the justification is "save tokens" instead of "save bandwidth."

The beauty here is watching people discover that separating concerns actually has benefits beyond making your code maintainable. Who knew that not dumping 20 lines of CSS into every prompt would reduce token usage? Next you'll tell me that minifying code and using compression also helps.

The real galaxy brain move is training the LLM to reference external CSS so it "never outputs CSS again." Because nothing says efficiency like teaching an AI to avoid generating something it's perfectly capable of generating. It's like hiring a chef and then telling them to never cook vegetables because you bought them pre-cut.

More Like This