mozilla/connect-cachify — pull request #38 by pirxpilot (2013-09-15 12:28:54+00:00)
Title: Simplify 'invalid cashes' verification

Instead of checking cachify prefix against the md5 hash of the file content we just check if the said prefix is among the ones that we previously generated.

It provides a safeguard against someone maliciously attempting to clog the downstream cache by sending us a great number of invalid URLs and has an added benefit of beeing much simpler than 'recalculate the hash' method.

Fixes #37