buckket / twtxt

Decentralised, minimalist microblogging service for hackers.
http://twtxt.readthedocs.org/en/stable/
MIT License
1.92k stars 79 forks source link

Add simple caching using shelve for storing and If-Modified-Since header #65

Closed buckket closed 8 years ago

buckket commented 8 years ago

Implemented #7. Asking for feedback! :smile:

timofurrer commented 8 years ago

It would be nice to implement the Cache as context manager.

timofurrer commented 8 years ago

If we want to support twtxt not only as CLI application but also as a package which can be used in other applications it might be a good idea to open and close the Cache only once.

buckket commented 8 years ago

@timofurrer Yes, but question is how and where exactly.

ToDo: