Allow nginx to send strong etag after gzipping

167 Views Asked by At

I have a node server that will send a huge payload, which I am currently gzipping at nginx layer. nginx is making the etag weak upon gzipping and akamai doesn't cache based on weak headers. Need a way of by passing weak etag generation at nginx layer or some other solution to enable caching at CDN layer. Tried doing gzip at node layer using fastify-compress but the QPS value is decreasing drastically if this is done. Can someone tell me if there is some good way of handling this situation?

0

There are 0 best solutions below