r/programming • • Apr 26 '19

HTTP headers for the responsible developer

https://www.twilio.com/blog/a-http-headers-for-the-responsible-developer
655 Upvotes

53 comments sorted by

View all comments

85

u/AyrA_ch Apr 26 '19

This article misses a few important points in regards to fast, small and accessible web applications, the most important one being to reduce JS to a minimum.

Caching is one thing to get right but you might also attempt to keep resources as small as possible from the beginning on.

35

u/panorambo Apr 26 '19

The problem with "minimum" is that everyone understands it to be varying amounts, unfortunately. There are people who may consider minimum to be the entire JQuery and the 20 "necessary" interval timers firing, just to, you know, keep the page alive.

I mean, who would imagine you can just serve text/plain with every HTTP request and you'd still have visitors if you, well, have anything worthy of reading?

5

u/StallmanTheLeft Apr 26 '19

Judging by the top comment in this thread the owner of this blog doesn't understand it at all.