From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Tue Nov 07 2000 - 03:35:13 EST
On Tue, Nov 07, 2000 at 08:05:29AM +0100, Peter Hanecak wrote:
> Hello,
>
> On Mon, 6 Nov 2000, Daniel Veillard wrote:
>
> > well one still need to open the header to get the name/version/release/arch
> > (to base anything on filenames is really broken).
>
> Does "open the header" means also running "signature resolving"?
hum, no, it's just the call to rpmOpen()
> > > b) comparing html or rdf output and current page is useless because it
> > > happens AFTER closer inspection of package ("signature resolving" is
> > > alredy done).
> >
> > No, because if the timestamp has changed for whatever reason and you
> > recompute the output, it's still better to check to avoid trashing http
> > caches.
>
> I meant it "useless" for "signature resolving" issues, not for rpm2html as
> a whole.
Oh, sorry, misunderstanding. Right !
> > > Is (A) correct?
> >
> > yes
>
> So do I have to make something regarding caching or anything with
> "signature resolving"?
Well it seems clear that keeping a small pool of "latest resolved
signature" may seriously help performance wise since all the packages from
a given diftribution, if signed, are likely to use the same set of keys.
I hope taht maintaining a small LRU cache is possible (I can add this
part).
Daniel
-- Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | libxml Gnome XML toolkit Tel : +33 476 615 257 | 655, avenue de l'Europe | http://xmlsoft.org/ Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Rpmfind search site http://www.w3.org/People/all#veillard%40w3.org | http://rpmfind.net/
This archive was generated by hypermail 2b29 : Thu May 10 2001 - 18:40:13 EDT