Nginx: conditional "expires" directive
António P. P. Almeida
appa at perusio.net
Tue Aug 16 16:39:08 UTC 2011
On 16 Ago 2011 17h13 WEST, nginx-forum at nginx.us wrote:
Oleksandr suggestion works.
curl -I logs.damiao/test?no_caching=1
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 16 Aug 2011 16:35:08 GMT
Content-Type: application/octet-stream
Content-Length: 0
Connection: keep-alive
Keep-Alive: timeout=10
Cache-Control: no-cache
curl -I logs.damiao/test
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 16 Aug 2011 16:35:14 GMT
Content-Type: application/octet-stream
Content-Length: 0
Connection: keep-alive
Keep-Alive: timeout=10
Cache-Control: max-age=3600
--- appa
More information about the nginx
mailing list