Welcome! Log In Create A New Profile

Advanced

cached files with wrong size

October 19, 2012 04:12AM
*Hello colleagues,
I have some troubles when caching (with proxy cache) some objects which
don't
have content-length header. It happens with gzipped .js or .css files.
Usually
these files don't have content-length because its size is not known when
headers
are sent.

If the connection between proxy server and origin behind it disconnects
during
file transfer the file will be checked if it has correct size only if
content-length exists. Otherwise the file will be cached normally even it
does not have correct size.

In this case corrupted file will be sent to the browser and probably it
will break normal behaviour of a served website.
Do you know a solution for such kind of issues?*
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

cached files with wrong size

toli 1150 October 19, 2012 04:12AM

Re: cached files with wrong size

Maxim Dounin 780 October 19, 2012 06:34AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 179
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