movableink/CORS-Proxy — pull request #3 by mnutt (2014-04-16 21:39:02+00:00)
Title: fix caching responses

This fixes a race condition that happened under high load due to the caching changes. It's a fairly major change.

It adds connect and moves most concerns into middleware: cors headers, logging, and caching. The cors caching has been extracted into a general-purpose thundering-herd-proof caching middleware.

It also adds tests via mocha and supertest.