For those of you that made it to our user conference last year I gave a talk about the utility of caching HTTP results to make web services easier to deal with. This page talks about that:
I’ve just put together a new module which produces a net.http.getCached function with this idea in mind but done with a fairly clean self contained implementation.
I’ve just published a channel which you can pick up from the Iguana Webservices repo which has this new module. It relies on the new store2 module for it’s implementation of the caching (it was a large part of the motivation for writing the new module).
This shows how to use this module – not that much different from net.http.get:
The implementation isn’t too bad:
If people have any questions let me know.
The new store2 module is mentioned here:
You must be logged in to reply to this topic.