https://bugzilla.wikimedia.org/show_bug.cgi?id=44269

--- Comment #6 from Bawolff (Brian Wolff) <[email protected]> ---
Interesting, maybe(In reply to comment #5)
> (In reply to comment #4)
> > Of particular interest, always seems to be a cache miss. These headers are
> > from
> > the third time in a row that I accessed the image
> 
> Not always, from Europe, but result doesn't change.
> 
> $ wget -S
> https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/41st_Can_Senate.
> svg/2000px-41st_Can_Senate.svg.png
> [...]
>   HTTP/1.1 200 OK
>   Server: nginx/1.1.19
>   Date: Mon, 28 Jan 2013 21:45:01 GMT
>   Content-Type: image/png
>   Content-Length: 12706
>   Connection: keep-alive
>   X-Object-Meta-Sha1base36: 6qmddcqcdyix5etlu1xrronvkhttqak
>   Last-Modified: Sat, 21 Jul 2012 19:20:18 GMT
>   Etag: dfbb5fab4a113944065657576e5e0c72
>   X-Timestamp: 1342898418.63822
>   Access-Control-Allow-Origin: *
>   X-Varnish: 3497201383, 1468200824 1468081154, 1275272057
>   Via: 1.1 varnish, 1.1 varnish, 1.1 varnish
>   Accept-Ranges: bytes
>   Age: 67
>   X-Cache: cp1021 miss (0), cp3009 hit (1), cp3010 frontend miss (0)
> Lunghezza: 12706 (12K) [image/png]
> 
> [...]
> 
> $ wget -S
> "http://commons.wikimedia.org/w/thumb.php?f=41st_Can_Senate.svg&w=2000";
> [...]
>   HTTP/1.0 200 OK
>   Date: Mon, 28 Jan 2013 22:02:27 GMT
>   Server: Apache
>   X-Content-Type-Options: nosniff
>   Cache-Control: private, s-maxage=0, max-age=0, must-revalidate
>   Last-Modified: Sat, 21 Jul 2012 19:20:18 GMT
>   Content-Disposition: inline;filename*=UTF-8''41st_Can_Senate.svg.png
>   Content-Length: 12706
>   Content-Type: image/png
>   X-Cache: MISS from sq76.wikimedia.org
>   X-Cache-Lookup: MISS from sq76.wikimedia.org:3128
>   X-Cache: MISS from amssq35.esams.wikimedia.org
>   X-Cache-Lookup: MISS from amssq35.esams.wikimedia.org:3128
>   X-Cache: MISS from amssq42.esams.wikimedia.org
>   X-Cache-Lookup: MISS from amssq42.esams.wikimedia.org:80
>   Connection: keep-alive
> Lunghezza: 12706 (12K) [image/png]


Hmm, the age header for me is much longer when I visit via europe (and get a
squid)

wolff@bluenose:~/mw$ wget -S --header 'Host: upload.wikimedia.org' -U bawolff 
http://upload-lb.esams.wikimedia.org/wikipedia/commons/thumb/4/41/41st_Can_Senate.svg/2000px-41st_Can_Senate.svg.png
--2013-01-29 13:43:32-- 
http://upload-lb.esams.wikimedia.org/wikipedia/commons/thumb/4/41/41st_Can_Senate.svg/2000px-41st_Can_Senate.svg.png
Resolving upload-lb.esams.wikimedia.org... 91.198.174.234, 2620:0:862:ed1a::b
Connecting to upload-lb.esams.wikimedia.org|91.198.174.234|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.0 200 OK
  X-Object-Meta-Sha1base36: 6qmddcqcdyix5etlu1xrronvkhttqak
  Last-Modified: Sat, 21 Jul 2012 19:20:18 GMT
  ETag: dfbb5fab4a113944065657576e5e0c72
  X-Timestamp: 1342898418.63822
  Accept-Ranges: bytes
  Content-Length: 12706
  Content-Type: image/png
  Access-Control-Allow-Origin: *
  Date: Mon, 28 Jan 2013 16:11:11 GMT
  X-Cache: MISS from sq86.wikimedia.org
  X-Cache-Lookup: MISS from sq86.wikimedia.org:3128
  Age: 91941
  X-Cache: HIT from amssq58.esams.wikimedia.org
  X-Cache-Lookup: HIT from amssq58.esams.wikimedia.org:3128
  X-Cache: MISS from knsq20.knams.wikimedia.org
  X-Cache-Lookup: MISS from knsq20.knams.wikimedia.org:80
  Connection: keep-alive
Length: 12706 (12K) [image/png]
Saving to: `2000px-41st_Can_Senate.svg.png.24'

100%[======================================>] 12,706      --.-K/s   in 0.1s    

2013-01-29 13:43:32 (114 KB/s) - `2000px-41st_Can_Senate.svg.png.24' saved
[12706/12706]

In any case, when the varnishes do cache (I was now able to get a couple of
cached versions when accessing from N. America) they always seem to have a
really short age header.

Doing ?action=purge doesn't seem to have any affect on clearing things, I don't
know what that means. I think the real issue is at the MW/Swift layer though.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to