Why include Content-Length in type-maps?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2008-05-09 15:25 skreiv Joshua Slive:
> On Fri, May 9, 2008 at 8:09 AM, Mathias wrote:
> > Are there any benefits of including Content-Length in type-maps? I do not
> > understand the need to overwrite this option when Apache is perfectly
> > capable of retrieving the information on it’s own.
> >
> > Are there performance benefits of including it?
>
> Without checking the code I'm just guessing, but it could be that the
> content-length is used as a negotiation criterion: if all else
> matches, choose the smallest representation.

It is a negotiation criteria. I think what he is trying to ask about is: why 
he should manually include it in the type-map instead of letting Apache 
gather the file size automatically.
-- 
Daniel

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux