Welcome! Log In Create A New Profile

Advanced

Exclude from cache by content-length

Andrei
April 16, 2018 04:18AM
Hello!

I have an odd upstream application (out of my control) which sometimes
responds with incomplete pages, and a 200 error.. This causes blank pages
to appear in cache. Is there a way to exclude from/bypass cache if the
content-length header from the upstream is lower than 5kb for example?
Thanks everyone!
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Exclude from cache by content-length

Andrei April 16, 2018 04:18AM

Re: Exclude from cache by content-length

Maxim Dounin April 16, 2018 10:22AM

Re: Exclude from cache by content-length

Andrei April 17, 2018 12:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 320
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready