anchor.diff:  handle_request(CliSock, GC, SC, Req, H, ARG, N) ->
       ?TC([{record, GC, gconf}, {record, SC, sconf}]),
       UT =  url_type(GC, SC, get_path(Req#http_request.path)),
  -    ?Debug("UT: ~p", [?format_record(UT, urltype)]),
       ARG2 = ARG#arg{fullpath=UT#urltype.fullpath},
       case SC#sconf.authdirs of
   	[] ->
  
positive.code:     [{num_files, N}] = ets:lookup(E, num_files),
      [{num_bytes, B}] = ets:lookup(E, num_bytes),
      FI = UT#urltype.finfo,
      if
  	N + 1 > GC#gconf.max_num_cached_files ->
  	    error_logger:info_msg("Max NUM cached files reached for server "
  			      "~p", [SC#sconf.servername]),
  	    cleanup_cache(E, num),
  	    cache_file(GC, SC, Path, UT);
  	B + FI#file_info.size > GC#gconf.max_num_cached_bytes ->
  	    error_logger:info_msg("Max size cached bytes reached for server "
  			      "~p", [SC#sconf.servername]),
  	    cleanup_cache(E, size),
  	    cache_file(GC, SC, Path, UT);
  	true ->
  	    if
  		FI#file_info.size > GC#gconf.max_size_cached_file ->
  		    UT;
  		true ->
  		    {ok, Bin} = prim_file:read_file(UT#urltype.fullpath),
  		    UT2 = UT#urltype{data = Bin},
  		    ets:insert(E, {{url, Path}, now_secs(), UT2}),
  
negative.code: 	[] ->
  	    UT = do_url_type(SC#sconf.docroot, Path),
  	    ?TC([{record, UT, urltype}]),
  	    ?Debug("UT=~p\n", [UT]),
  	    CF = cache_file(GC, SC, Path, UT),
  	    ?Debug("CF=~p\n", [CF]),
  	    CF;
  	[{_, When, UT}] ->
  	    N = now_secs(),
  	    FI = UT#urltype.finfo,
  