try {
if (Yalp.mode == Yalp.Mode.DEV) {
Router.detectChanges(Yalp.ctxPath);
}
if (Yalp.mode == Yalp.Mode.PROD && staticPathsCache.containsKey(request.domain + " " + request.method + " " + request.path)) {
RenderStatic rs = null;
synchronized (staticPathsCache) {
rs = staticPathsCache.get(request.domain + " " + request.method + " " + request.path);
}
serveStatic(rs, ctx, request, response, nettyRequest, event);
if (Logger.isTraceEnabled()) {