Welcome! Log In Create A New Profile

Advanced

Module or code modification to check Content-MD5 when storing content in cache - estimations

Posted by i.s.ivanov2 
Hello.
I have a task of checking correctness of content, stored in nginx cache, so that users will not receive broken files (say, when there are problems on TCP level).
I want to accomplish this task by automatically computing MD5 value for file being stored and comparing it with Content-MD5 header that came with that file. If values mismatch - nginx should re-request file from origin server.

Question is - approximately how much time will it take to modify existing ngx_http_proxy_module or implement brand new module? Or maybe there is an easier way to accomplish this task?

Thanks!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready