fzaninotto/screenshot-as-a-service — pull request #10 by fzaninotto (2012-08-05 07:07:43+00:00)
Title: Add caching system, set to 60s by defult.

This is my take on caching.

The service returns the same image for 60s for a given set of url+options. This behavior can be disabled by configuring the cache lifetime to 0.

Refactored the main route for better clarity.