Please submit a rough time estimate in your initial bid.
Servebolt is using nginx as a reverse proxy cache, with Apache as the upstream webserver. Nginx handles SSL connections, caching (simple cache) and on-the-fly zlib(-ng) compression upon delivery of files to the browser.
We want to outsource development of an Nginx module that alters how caching & compression is handled in Nginx. Currently Nginx reads the uncached files from Apache (thus not from the file system), then stores it to its cache, and upon delivery it is compressed on-the-fly if the browser supports gzip. With our standard workload this is inefficient because a large majority of inbound requests support gzip, and the compression is done every time this file is delivered.
We want to alter this behaviour, so that Nginx caches compressed files instead of uncached files, and if the browser does not support gzip, it decompresses it on-the-fly upon delivery. That means that compression should happen when Nginxs reads from the upstream Apache, before it stores the (compressed) file to the cache.
Modules like [login to view URL] are different, and not usable for our case. This module works directly in the nginx web root, which Nginx does not have access to in our setup (on our setup Nginx reads files from a localhost webserver). It also handles only static files, we want this to work for php/HTML output too.
For several reasons we do not want the upstream web server Apache to handle compression.
This project should target nginx 1.15.x.