commonsmachinery / blockhash

blockhash.io
MIT License
86 stars 28 forks source link

Uses: Web server modules #7

Open gubatron opened 9 years ago

gubatron commented 9 years ago

Just wanted to share an idea after hearing your talk at FOSDEM.

Web servers like nginx, lighttpd, apache, could use a blockhash module that would calculate (before serving an image) or fetch the blockhashes from an existing database and then keep the hashes in a cache.

As images are served to web clients, the blockhash metadata could be part of the HTTP headers served along the image, then web browsers/web clients could use the blockhash information for automatic attribution purposes.