Uploaded: imagefile-iterator.diff
Here's a patch to make App.ImageFile to do two things:
- Do *not* read the full file on startup, 64k is probably enough (too much?) - Return a filestream_iterator.
Should make Zope startup a little bit faster, and serving ZMI icons too.
Uploaded: imagefile- iterator. diff
Here's a patch to make App.ImageFile to do two things:
- Do *not* read the full file on startup, 64k is probably enough (too much?) iterator.
- Return a filestream_
Should make Zope startup a little bit faster, and serving ZMI icons too.