anchor.diff:                                      "text/html; charset=utf8",
                                       [{"Cache-Control", "must-revalidate"}]).
   
  +handle_serve_file(AppRoot, Path, MaxAge, Req) ->
  +    menelaus_util:serve_file(
  +        Req, Path, AppRoot,
  +        [{"Cache-Control", lists:concat(["max-age=", MaxAge])}]).
  +
   loop_inner(Req, Info, Path, PathTokens) ->
       menelaus_auth:validate_request(Req),
       perform_action(Req, get_action(Req, Info, Path, PathTokens)).
  
positive.code:                     {{[admin, internal], all},
                       fun menelaus_web_rbac:handle_check_permission_for_cbauth/1};
                  [?PLUGGABLE_UI, "ui", RestPrefix | _] ->
                      {done, menelaus_pluggable_ui:maybe_serve_file(
                               RestPrefix, Plugins, nth_path_tail(Path, 3), Req)};
  
                  [?PLUGGABLE_UI, RestPrefix | _] ->
                      {no_check,
                       fun (PReq) ->
  
negative.code:                 ["sasl_logs", LogName] ->
                      {{[admin, logs], read}, fun diag_handler:handle_sasl_logs/2, [LogName]};
                  ["images" | _] ->
                      {ui, IsSSL, fun handle_serve_file/4, [AppRoot, Path, 30000000]};
                  ["couchBase" | _] -> {no_check,
                                        fun menelaus_pluggable_ui:proxy_req/4,
                                        ["couchBase",
  