Download List

Projeto Descrição

GCache is a Python module that provides a generic
cache class useful for speeding up any application
where objects are referenced by keys. It uses
object metadata to optimize hit-rates and
freshness for fetches, and uses a "write-through"
mechanism for writes and deletes. It can use
"if-modified-since" fetches or rsync delta updates
to refresh stale cached objects. GSource classes
are provided for generating useful metadata from
common sources (os.stat calls and MIME headers). A
simple example urlCache is implemented that
supports HTTP 1.1 (rfc2616) cache-control and
expire headers to ensure freshness. Also included
is an rfc2616 package useful for parsing HTTP 1.1
headers, and a PCache package implementing a
persistant cache using a Python shelve.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2002-02-18 19:06
1.13

PCache.py foi corrigido para processar correctamente cache hits negativo. Um batimento cardíaco foi adicionado ao PCache.py 's código de teste.
Tags: Minor bugfixes
PCache.py was fixed to correctly handle cached negative-hits. A heartbeat was
added to PCache.py's test code.

2001-12-13 02:57
1.11

Suporte para cache inteligente de KeyErrors gerado quando o GSource upsteam indica que o objeto solicitado não existe.
Tags: Minor feature enhancements
Support for smart caching of KeyErrors raised when the upsteam GSource indicates the requested object does not exist.

2001-11-17 11:07
1.7

Eficiência e flexibilidade de memória foi melhorado através de uma grande reestruturação da classe de metadados para GSource fonte genérica, utilizando tuplas de metadados. API mudanças foram feitas para permitir atualizações delta rsync estilo, bem como If-Modified-Since atualizações. A cache PCache.py persistente foi adicionado usando arquivar loja, e um script de teste memtest1.py foi adicionado.
Tags: Major feature enhancements
Memory efficiency and flexibility has been improved via major restructuring from MetaData class to GSource generic source, using metadata tuples. API changes have been made to allow for rsync style delta updates, as well as If-Modified-Since updates. A PCache.py persistant cache was added using shelve store, and a memtest1.py test script was added.

2001-01-30 15:12
0.1

Initial release.
Initial release.

Project Resources