Ticket #2239 (new defect)

Opened 9 years ago

DiskFile RAM & disk efficiency

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.4.10
Component: CPSSchemas Version: 3.5.1rc2
Severity: normal Keywords:
Cc:

Description

The content of DiskFile object is served by a simple inheritance from OFS.Image.File with override of the getData method. This means that each time a single byte from a DiskFile is served, the entire file is read in memory. In this age of vry common partial requests, this is especially stupid. It'd be better, if not very pleasant, to override index_html itself.

Note: See TracTickets for help on using tickets.