[TYPO3-core] EM and TER2

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon May 8 15:33:25 CEST 2006


Michael Stucki schrieb:
> Hi Martin,
> 
> 
>>Robert Lemke schrieb:
>>
>>>okay. my plan was to not zip the extensions.dat (or .bin) at all
>>>because I imagine that unzipping consumes additional memory. But  that's
>>>only a guess.
>>
>>Could you make it so, that TER can deliver both versions (zipped and
>>unzipped)? So we may play a bit with the options. *
> 
> 
> You could use a zipped version for transfer, write the contents to typo3temp 
> and delete this data from memory.

No big impriovement. When you read in a loop, you fetch only eg 4096 per cycle.

 > Then unzip it either via exec() or native PHP class (like it's already 
done) and use the extracted .dat file from then
> on.

We fear that the native call may use up extra memory.

> I just think it's important to use compression for transfer because the file 
> will grow more and more...

That's why I suggested the auto/manual-config: use gzipped content if 
reasonable or requested by user.

Masi



More information about the TYPO3-team-core mailing list