News for hackers. Stuff that matters.
Re:Templar: A proxy to improve HTTP API interactions by paulspringett on Thursday March 05, 2015 @06:22AM (#9150088)
The caching part looks really interesting -- have you considered adding support for more fine-grained caching control, such as respecting etags and last-modified times?

Thanks for sharing this!

Re:Templar: A proxy to improve HTTP API interactions by evanphx on Thursday March 05, 2015 @12:17PM (#9152153)
Yup! That's on the todo list. Auto-caching, as I'm calling it, would figure out a how long to cache something for and then be able to later on use HEAD to check if the url in question has changed.

That cache time could be as long as 5 seconds, so that Templar is checking pretty often if the upstream has changed.