Main precision is about max-age returned by the mirror to clients. It should not be the same as the cached request, as this would extend the lifetime of the original request. For privacy pass, this might lead clients to see an invalid key for instance.
I propose to substract the elapsed time, even though it might create spike in traffic as client would be invalidated at the same time.
Main precision is about max-age returned by the mirror to clients. It should not be the same as the cached request, as this would extend the lifetime of the original request. For privacy pass, this might lead clients to see an invalid key for instance. I propose to substract the elapsed time, even though it might create spike in traffic as client would be invalidated at the same time.
Other edits in this PR are typos.