Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

very cool, and apparently quite simple. but when I look at the network log with the developper tools apparently chrome doesnt register loading a new image. is it possible that it will never show up there because it doesnt finish loading?

looking at the response headers of online.png shows:

     Cache-Control:no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0, false
     Connection:Close
     Date:Sun, 29 Jul 2012 11:04:04 GMT
     Expires:-1
     Last-Modified:Sun, 29 Jul 2012 11:04:04 GMT
     Pragma:no-cache
     Transfer-Encoding:chunked
so that can't be the jpeg mentioned


Ah, but then click "View Source" next to Response Headers and you'll see the non-evaluated headers: http://i.imgur.com/Ql741.png

  HTTP/1.1 200 OK
  Connection: Close
  Expires: -1
  Last-Modified: Sun, 29 Jul 2012 17:44:35 GMT
  Cache-Control: no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0, false
  Pragma: no-cache
  Content-Type: multipart/x-mixed-replace; boundary=--whyhellothere
  Date: Sun, 29 Jul 2012 17:44:35 GMT
  Transfer-Encoding: chunked
Also, it can be any image type (or file type, for that matter) besides image/jpeg. In my program, I'm sending image/png so that the rendered font is more readable.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: