This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
When making HTTP requests programmatically it’s always nice to have a transparent caching mechanism to make things more efficient when you start fetching the same resource thousands of times a second. I was very close to implementing one with Python’s httplib or urllib libraries when I came across exactly the functionality I needed in httplib2. Huzzah! No need to write (and maintain) anything…
Read on /article/a-simple-in-memory-cache-for-python-s-httplib2 ↗
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.