-Ursprüngliche Nachricht-
Von: Ian Holsman
Brian Akins wrote:
This is a rather nasty patch (sorry). Basically, it changes the way
arrays and tables are stored on disk. This allows us to do a much
cleaner and quicker read_array and read_table. It cuts down
Plüm wrote:
To be honest I do not understand why Brian creates its own buffered
input / output reading. I think that header files are rarely larger than 4K.
And the current code already buffers 4K when APR_BUFFERED is set as a flag for
apr_file_open (which is set).
in current mod_disk_cache:
On 01/24/2006 06:27 PM, Brian Akins wrote:
Plüm wrote:
To be honest I do not understand why Brian creates its own buffered
input / output reading. I think that header files are rarely larger
than 4K.
And the current code already buffers 4K when APR_BUFFERED is set as a
flag for
Ruediger Pluem wrote:
That sounds good, but thats more about the parts I haven't checked so far.
Sorry for nit picking on this, but you said that your patch will save disk
reads and syscalls and I still do not see this.
true. a header file almost always fits into the buffer of apr_file_t,
On 01/25/2006 12:13 AM, Brian Akins wrote:
[..cut..]
-a way to set max/min cache time that will override the expires header.
Mostly just need max. probably not too hard.
I committed your patch regarding min expire time you sent a while ago to the
trunk
(r369811). It is correct that the