google / ngx_brotli

NGINX module for Brotli compression
BSD 2-Clause "Simplified" License
2.1k stars 216 forks source link

Do not serve stale statically compressed content #111

Open mqudsi opened 3 years ago

mqudsi commented 3 years ago

Unless the static cache option is set to NGX_HTTP_BROTLI_STATIC_ALWAYS, check that the original file both exists and is not newer than the statically compressed equivalent.

google-cla[bot] commented 3 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

mqudsi commented 3 years ago

@googlebot I signed it!