cached files with wrong size
toli at webforge.bg
Fri Oct 19 08:10:20 UTC 2012
I have some troubles when caching (with proxy cache) some objects which
have content-length header. It happens with gzipped .js or .css files.
these files don't have content-length because its size is not known when
If the connection between proxy server and origin behind it disconnects
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?*
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel