Closed Bug 628607 Opened 13 years ago Closed 8 years ago

Introduce threshold for partial data to be re-used from cache

Categories

(Core :: Networking: HTTP, defect)

defect
Not set
minor

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bjarne, Unassigned)

Details

This is item (3) from bug #612135, comment #77

Summing up the point of this bug: Current code will use content from a partial cache-entry even if it contains just 1 byte, sending a range-request for the rest of the data. A ranged request is more complex to deal with (compared to a normal request) both for the server and the client, and it introduces extra overhead (probably more than 1 byte) just in the http-headers. Hence, we may want to add a preference which specifies a minimum amount of partial data to be stored before re-using it. The optimal value for this may vary for different devices depending on processing-power and network-speed, and the default value could be set accordingly.
See also bug #613159, comment #26 for a scenario why this may be useful and potentially necessary.
undesired complexity.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.