[Catalog-sig] start on static generation, and caching - apache config.
renesd at gmail.com
Sun Jul 8 09:46:18 CEST 2007
here's another update:
Now you can also create all of the releases listed on the "/pypi/" url.
python pypi-static-generation.py -create_all
It still doesn't do date checking yet. I'll probably get around to
so it creates these files and directories:
So these urls can use the static files:
It took about 20 minutes to generate all of them on my Ye Olde p3
256MB ram, laptop HD computer.
On 7/8/07, René Dudfield <renesd at gmail.com> wrote:
> It's less work to just look up to see when the last change was.
> Rather than make another table and store it - duplicating the data.
> On 7/8/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> > > Next up I'm going to put a few functions into store.py. Ones to check
> > > if a release has changed since a given date. Also one to see if any
> > > changes at all have happened since a given date.
> > Is this really necessary? I think it would be sufficient to have a table
> > of name,version pairs that list the releases that have changed. This
> > table is filled on modification, and cleared by the regeneration.
> > Regards,
> > Martin
More information about the Catalog-SIG