[squid-users] Fail and empty response instead cached resource

Alex Rousskov rousskov at measurement-factory.com
Tue Jan 21 16:33:49 UTC 2020


On 1/21/20 6:54 AM, Amos Jeffries wrote:
> When the revalidation request is sent, the origin server updates the
> HTTP headers to say that the object is now 0 bytes in length:
> 
>     HTTP/1.1 304 Not Modified
>     Server: nginx/1.4.6 (Ubuntu)
>     Date: Tue, 21 Jan 2020 11:27:17 GMT
>     Content-Type: text/javascript; charset=UTF-8
> =>  Content-Length: 0
>     Connection: keep-alive
>     X-PaperRoute: Node
>     ETag: "800439-72175-1534779018000"
>     last-modified: Mon, 20 Aug 2018 15:30:18 GMT
>     Access-Control-Allow-Origin: *
>     Cache-Control: no-cache

AFAICT, nobody is working on a workaround for these broken sites right
now, but there is a potentially useful discussion about this kind of
problem at https://bugs.squid-cache.org/show_bug.cgi?id=4882

Alex.


More information about the squid-users mailing list