A cartoon caveman

Make Middleware Explicit

(code for this section)

At this point, standard-html-middleware just uses ring.middleware.defaults/middleware-defaults. This is fine right up until we want to add our own middleware or understand what middleware is in place and what it does. That is something we will want when adding user auth later.

Which means there would be value in moving away from ring.middleware.defaults/middleware-defaults and explicitly writing out the middleware it implies.

← Serve Static Files