this post was submitted on 15 Nov 2023
788 points (96.1% liked)

Programmer Humor

19519 readers
520 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
788
Yes (programming.dev)
submitted 1 year ago by mac to c/programmer_humor
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

Nothing good old cache can't solve. Compile JS and CSS. Bundle CSS with main HTML file and send it in batches since HTTP2 supports chunkifying your output. HTTP prefers one big stream over multiple smaller anyway. So that guy was only inviting trouble for himself.

[–] agilob 7 points 1 year ago* (last edited 1 year ago) (1 children)

You're telling me about compiling JS, to my story that is so old... I had to check. and yes, JS existed back then. HTTP2? Wasn't even planned. This was still when IRC communities weren't sure if LAMP is Perl or PHP because both were equally popular ;)

[–] [email protected] 2 points 1 year ago

Am just saying including source code into Apache is an overkill. But I guess if Apache was so old that doing so wasn't much of a chore, sure thing. Still think apache module would have been simpler.