temp download files

AniDB Client Feature Requests go here

Moderators: AniDB, AniDB API

Locked
alaureijs
Posts: 101
Joined: Sun Jul 13, 2003 8:45 am
Location: Yurp

temp download files

Post 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)
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post 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
PetriW
AniDB Staff
Posts: 1522
Joined: Sat May 24, 2003 2:34 pm

Post by PetriW »

Under normal circumstances it'll only redownload all files if Exp has changed something on the API side.
Locked