The following code creates Http object with caching enabled:
http = httplib2.Http('cache')
r, b = http.request('http://google.com')
The following code creates Http object with caching enabled and if the resource has already been in the cache, its never requested again:
http = httplib2.Http('cache')
r, b = http.request('http://google.com',
headers={'cache-control':'min-fresh=-1000000000'})
How do I modify these two samples for the cache
is used but never updated?
Thanks