Reputation: 95
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?
Upvotes: 2
Views: 295