dlang.org using apache?

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 8 07:30:53 PDT 2016


On Wednesday, 8 June 2016 at 13:13:07 UTC, Jonathan Marler wrote:
> I've decided to write a web application using vibe and was 
> shocked to see that dlang.org was using apache.

It is very common for real world web apps to run behind Apache, 
nginx, IIS, or another major production server.

These servers tend to be very efficient at front end tasks like 
load balancing, static file serving and cache management, 
standards compliance (including automatically up/down grading 
HTTP versions or TLS requirements), management, security 
(including handling horribly malformed requests) - stuff that can 
take megabytes of code to get right and is typically outside the 
scope of an application server.

Of course, they can also serve up different parts of a large 
website to different application servers transparently to the end 
user - e.g. one part in PHP, another part proxied to vibe.


BTW ironically, a lot of people complain that D DOES use its own 
web technology on the website: it is mostly statically generated 
ddoc!


More information about the Digitalmars-d-learn mailing list