Hacker News new | past | comments | ask | show | jobs | submit login

Simon (the founder & proprietor of The Aviation Herald) is an incredible force for good in the world. His work on that site, for well over a decade now, is legendary.



Fun fact: the response header [1] of that website suggests it is powered by Apache and Perl. Which is amazing in itself. And it's still responsive despite being #1 on HN.

[1] Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/1.0.2r mod_perl/2.0.4 Perl/v5.10.0


Why is that suprising? Serving static content is easy


...and yet, very rarely done. That the correct technology for a news site (static content) was done, is the surprising part.


It would also be the correct technology for most sites - you don't need fancy Javascript for just the contents.

Navigation, ads, etc., maybe, but not the contents itself. Most webpages could be perfectly useful with Javascript completely disabled.

Sadly, many aren't.


Fancy JavaScript has nothing to do with serving static content. JavaScript itself is (or should be) static content anyway.

If you're talking about using JS to load content on page load, for whatever reason, that async content can also be static. For example some sites use the URL fragment (hash parameter) to load content, but the server does not receive this:

The fragment identifier functions differently to the rest of the URI: its processing is exclusively client-sided with no participation from the web server - https://en.wikipedia.org/wiki/URI_fragment


> Fancy JavaScript has nothing to do with serving static content

Still, I visit websites all the time that don't work with Javascript disabled. They don't work at all, or the images don't load, or the formatting breaks down.

None of this is necessary. In principle, static content should work fine with Javascript disabled.


I mean. How much is classic Perl used in web applications these days?


0.1%, not much!

https://w3techs.com/technologies/overview/programming_langua...

But concatenating strings together is the same in any language, right?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: