Image upload with broken thumbnail image
OpenEI users can upload images to the wiki by typing a new file name http://en.openei.org/wiki/File:My_new_file.jpg
However, due to a caching timing issue, right after upload, the 120px-wide thumbnail has not yet been created by the time the fetier cache goes after it. Thus, the thumbnail appears broken.
Is anyone up for debugging?
For users uploading images, this can be fixed by forcing a reload of the page:
Windows: ctrl + F5
Mac/Apple: Apple + R or command + R
Linux: F5
Thanks!
DIAGNOSTIC INFORMATION:
BROKEN THUMBNAIL IMAGE HEADERS (RIGHT IMAGE, BUT CACHED BEFORE THUMBNAIL CREATED):
Request URL:http://prod-http-80-800498448.us-east-1.elb.amazonaws.com/w/images/thumb/4/44/Powered_by_OpenEI_196x49_sc.png/120px-Powered_by_OpenEI_196x49_sc.png
Request Method:GET
Status Code:404 Not Found
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Host:prod-http-80-800498448.us-east-1.elb.amazonaws.com
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11
Response Headersview source
Age:138
Connection:keep-alive
Content-Encoding:gzip
Content-Length:227
Content-Type:text/html; charset=iso-8859-1
Date:Fri, 20 Jul 2012 14:44:11 GMT
Server:Apache
Vary:Accept-Encoding
Via:1.1 fetier-s2.openei.org:80 (squid/2.7.STABLE6)
X-Cache:HIT from fetier-s2.openei.org
X-Cache-Lookup:HIT from fetier-s2.openei.org:80
SHIFT-REFRESH WORKS AND PRODUCES:
Request URL:http://prod-http-80-800498448.us-east-1.elb.amazonaws.com/w/images/thumb/4/44/Powered_by_OpenEI_196x49_sc.png/120px-Powered_by_OpenEI_196x49_sc.png
Request Method:GET
Status Code:200 OK
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:no-cache
Connection:keep-alive
Host:prod-http-80-800498448.us-east-1.elb.amazonaws.com
Pragma:no-cache
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11
Response Headersview source
Accept-Ranges:bytes
Cache-Control:max-age=604800
Connection:keep-alive
Content-Length:7332
Content-Type:image/png
Date:Fri, 20 Jul 2012 14:47:00 GMT
ETag:"fc209-1ca4-4c543edcda280"
Expires:Fri, 27 Jul 2012 14:47:00 GMT
Last-Modified:Fri, 20 Jul 2012 14:44:10 GMT
Server:Apache
Via:mt-s5, 1.1 fetier-s1.openei.org:80 (squid/2.7.STABLE6)
X-Cache:MISS from fetier-s1.openei.org
X-Cache-Lookup:MISS from fetier-s1.openei.org:80
Groups:

Comments
Fixed!
Jhuggins and I did some close server analysis, and Jhuggins fixed this issue permanently on August 10th, 2012. Uploads should no longer have broken thumbnails right after the upload. Thanks for your patience on this!
Ryan