785
Yes (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] MeanEYE@lemmy.world 1 points 10 months ago

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@programming.dev 5 points 10 months ago* (last edited 10 months ago)

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 ;)

[-] MeanEYE@lemmy.world 2 points 10 months 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.

this post was submitted on 15 Nov 2023
785 points (96.2% liked)

Programmer Humor

19190 readers
1043 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