[REBOL] Re(2): REBOL Instant Messenger (P2P) - updating index files
From: arolls::bigpond::net::au at: 22-May-2001 4:22
Updating the index files every time would make it
annoyingly slow, especially for 56k modem users.
(I, luckily, am not one.) Just imagine it. Eugh!
Also ugly is rebol "randomly" deciding it wants
to update just when you want to do something.
Grrr!!! No no! We can't have this situation!
What needs to be done is to [size date] stamp
each link in an index file.
The desktop should be enhanced to check each
link in the index against your local cache.
If there are differences (the date is newer
than the cache, or the size is different), then
we need to update.
Who is going to update the desktop? RT?
Probably eventually.
I think I would like to make my own
index.r browser. It would have the feature
described above. I want to do this
because I would like a file lister type
view of the information. (Inspiration from
DirOpus :)
Next is software that keeps all your index
files stamped correctly.
It should also work its way up the tree.
If a sub-folder index file is changed, then
the parent folder index file should be
restamped with new [size date], and its
parent folder, etc etc. to the root of all
the index files.
I might write such software too.
If an index.r file lists an file with a size and date
that is newer/different than the file you have in your
cache, then when you click on the file, it should be
loaded from the net and updated in your cache.
Anton.