Opened 16 years ago

Closed 16 years ago

#113 closed bug (Fixed)

WebUI + Firefox with HTTP pipelining + auto refresh = broken images

Reported by: cymen Owned by: mvoncken
Priority: minor Milestone:
Component: Web UI Version: 0.6.0svn
Keywords: Cc:


I used Firefox with HTTP pipelining enabled (network.http.pipelining) with SVN deluge for the webui and there is some odd behavior with image links.

  • If I load the page from a URL everything is fine.
  • If I refresh the page, typically at least one image doesn't show up (just a placeholder).
  • If I enable auto refresh same thing happens (at least one image doesn't show up).
  • If I click on the big deluge icon on the upper left of the HTML page, everything loads fine.

I tried disabling pipelining and it seemed like that took care of the problem. I tried setting the max requests lower (say 4) with pipelining enabled but that didn't help.

One thought is that if the webserver set a cache time on the image files the problem would likely be avoided (although I'd qualify that as probably a work around). I haven't checked to see if caching is already enabled. Another work around would be to put all the icons in one big file and then display the square in the icon location with CSS (at least I believe that was the method mentioned here: ).

Change History (2)

comment:1 by anonymous, 16 years ago

Regarding the last link, the relevant section is "Implemented CSS sprites for frequently-used images". I'll see if I can get that working tomorrow.

comment:2 by mvoncken, 16 years ago

Resolution: fixed
Status: newclosed

r.3005 */pixmaps was missing the content-length header. *added Cache-Control header to all images.

Note: See TracTickets for help on using tickets.