Am 30.03.2016 um 21:42 schrieb Muhammad Faisal:
Here is the output of CURL, I have included origin headers in my original email [root@wc01 /]# curl --head http://fs37.filehippo.com/9546/46cfd241f1da4ae9812f512f7b36643c/vlc-2.2.2-win64.exe HTTP/1.1 200 OK Content-Length: 90 Content-Type: text/html Last-Modified: Fri, 17 Apr 2015 06:33:53 GMT Accept-Ranges: bytes ETag: "b4357379d878d01:0" Server: Microsoft-IIS/7.5 Date: Wed, 30 Mar 2016 19:41:14 GMT
"It seems the object caching is not happening even if "Last Modified" a proper origin would send cache-control headers but are ypu *really* sure it's not cached?what does the same curl-request against the proxy show with at least two requests - see the growing ATS-"Age" header below
[harry@srv-rhsoft:~]$ curl --head http://local.rhsoft.net/images/pixel.gif HTTP/1.1 200 OK Date: Wed, 30 Mar 2016 19:46:29 GMT X-Content-Type-Options: nosniff Last-Modified: Wed, 28 May 2014 11:42:20 GMT ETag: "2b-4fa744e151f00" Accept-Ranges: bytes Content-Length: 43 Cache-Control: max-age=60 Expires: Wed, 30 Mar 2016 19:47:29 GMT Connection: close Content-Type: image/gif _____________________________ [harry@srv-rhsoft:~]$ curl --head http://www.rhsoft.net/images/pixel.gif HTTP/1.1 200 OK Date: Wed, 30 Mar 2016 19:49:38 GMT X-Content-Type-Options: nosniff Last-Modified: Wed, 28 May 2014 11:42:20 GMT ETag: "2b-4fa744e151f00" Accept-Ranges: bytes Content-Length: 43 Cache-Control: max-age=60 Expires: Wed, 30 Mar 2016 19:50:38 GMT Content-Type: image/gif Age: 0 Connection: keep-alive [harry@srv-rhsoft:~]$ curl --head http://www.rhsoft.net/images/pixel.gif HTTP/1.1 200 OK Date: Wed, 30 Mar 2016 19:49:38 GMT X-Content-Type-Options: nosniff Last-Modified: Wed, 28 May 2014 11:42:20 GMT ETag: "2b-4fa744e151f00" Accept-Ranges: bytes Content-Length: 43 Cache-Control: max-age=60 Expires: Wed, 30 Mar 2016 19:50:38 GMT Content-Type: image/gif Age: 1 Connection: keep-alive [harry@srv-rhsoft:~]$ curl --head http://www.rhsoft.net/images/pixel.gif HTTP/1.1 200 OK Date: Wed, 30 Mar 2016 19:49:38 GMT X-Content-Type-Options: nosniff Last-Modified: Wed, 28 May 2014 11:42:20 GMT ETag: "2b-4fa744e151f00" Accept-Ranges: bytes Content-Length: 43 Cache-Control: max-age=60 Expires: Wed, 30 Mar 2016 19:50:38 GMT Content-Type: image/gif Age: 2 Connection: keep-alive [harry@srv-rhsoft:~]$ curl --head http://www.rhsoft.net/images/pixel.gif HTTP/1.1 200 OK Date: Wed, 30 Mar 2016 19:49:38 GMT X-Content-Type-Options: nosniff Last-Modified: Wed, 28 May 2014 11:42:20 GMT ETag: "2b-4fa744e151f00" Accept-Ranges: bytes Content-Length: 43 Cache-Control: max-age=60 Expires: Wed, 30 Mar 2016 19:50:38 GMT Content-Type: image/gif Age: 3 Connection: keep-alive [harry@srv-rhsoft:~]$ curl --head http://www.rhsoft.net/images/pixel.gif HTTP/1.1 200 OK Date: Wed, 30 Mar 2016 19:49:38 GMT X-Content-Type-Options: nosniff Last-Modified: Wed, 28 May 2014 11:42:20 GMT ETag: "2b-4fa744e151f00" Accept-Ranges: bytes Content-Length: 43 Cache-Control: max-age=60 Expires: Wed, 30 Mar 2016 19:50:38 GMT Content-Type: image/gif Age: 4 Connection: keep-alive
signature.asc
Description: OpenPGP digital signature
