All javascript can now be minified to zero bytes [0]. This can result in a significant improvement in asset load times as well as render times.
Furthermore, by following the process backwards developers can save time in the build process.
I'm also happy to announce that this new technology is supported by all major browsers that anyone will ever want to use: Firefox, Chrome, Opera, Edge, lynx etc.
(PS: there are also significant improvements waiting in accessibility and SEO.)
Sincerly,
Greybeard
Fullstacker
[0]: for more details about how this can happen see the papers linked here: https://www.google.no/search?q=html+spec
Frontend communities have been building their docs as static sites forever. You aren't telling 'frontenders' anything they don't know here.
Because I was just trying to educate in a somewhat lighthearted manner.
So I ask again: how do we stop the current JS abuse?
BTW: I've been my tems dedicated frontender for the last few weeks ;-)
That's just the point. Few people do this, yet the effect is vastly more usable, readable, and clean than "modern design", which ironically is much more difficult to pull off.
Certain tags also provide noscript 1x1 gif, so even your analytics is gracefully degraded!
Potentially web fonts are another candidate for a necessary javascript inclusion (css fonts are load blocking unfortunately), but that's by itself is pretty excessive.
It doesn't feel like any SPA I know.
Here's the chrome code for that:
https://chromium.googlesource.com/chromium/src/+/49.0.2606.2/net/http/http_response_headers.cc#949
As this is a static site, those Last Modified dates are probably coming from the fs under the webserver. Obviously for dynamic sites the Last Modified header won't be there unless you put it there.