Middleware was coined in the 1960s for software between the OS and applications; the request-pipeline sense came with web frameworks in the 2010s.
In the 1960s, "middleware" named the layer between the operating system and the applications: transaction monitors, remote procedure call libraries, message queues. The word was meant literally: it sat in the middle. In the 1990s, enterprise middleware (CORBA, MQSeries, Tuxedo) formalized the market. In the 2010s, web frameworks (Express, Koa, Laravel, ASP.NET Core) adopted the same term for the request pipeline: the middlewares sit between the HTTP server and the endpoint handler, and the metaphor survived intact.
An Express application is essentially a series of middleware function calls.
— Express.js documentation, *Using middleware*, 2024
1960s · "middleware" como capa OS-aplicaciones
1990s · middleware empresarial (CORBA, Tuxedo, MQ)
2010 · Express populariza el middleware HTTP
2016 · ASP.NET Core formaliza el middleware pipeline
N · middlewares en una app mediana típica