Opened 7 years ago

Closed 7 years ago

#1314 closed task (invalid)

If I set sendfile to off, expire header never sent to client.

Reported by: nonegit@… Owned by:
Priority: major Milestone:
Component: nginx-core Version: 1.10.x
Keywords: Cc: kartik@…
uname -a: Linux NGX 4.9.0-3-686-pae #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) i686 GNU/Linux
nginx -V: nginx version: nginx/1.10.3 built with OpenSSL 1.1.0d 26 Jan 2017 (running with OpenSSL 1.1.0f 25 May 2017) TLS SNI support enabled Debian's latest packages.debian.org/stretch/nginx-extras

Description

location ~* \.(css|html|js|jpg)$ {expires 2h;}

If I set sendfile to off, expire header never sent to client.
I have to set it on to send "Cache-Control" header to client.

Isn't this a bug?

Change History (1)

comment:1 by Maxim Dounin, 7 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.