Page 1 of 1

temp download files

Posted: Sat Sep 04, 2004 8:57 am
by alaureijs
Hi,

I was wondering if it would spare the server some bandwidth if the (dump) files downloaded from the server could remain in the temp directory?

I noticed that the file sizes of these files are always the same.

An implementation can be like: get the file list and crc's, check the crc of the files already in the temp dir. Download missing or changed files.

This request is triggered by the fact that the database must be reloaded quite often in order to get rid of error messages. (quite often compared to other databases i am using)

Posted: Sun Sep 05, 2004 2:30 pm
by exp
well,

in theory a client should never have to download the same file twice.
you're talking about aom/anidb sync problems here, IMHO it's better to
get them worked out than to implement some q&d workaround like
caching of dump files.

BYe!
EXP

Posted: Mon Sep 06, 2004 4:25 pm
by PetriW
Under normal circumstances it'll only redownload all files if Exp has changed something on the API side.