{"id":346,"date":"2009-09-02T18:40:43","date_gmt":"2009-09-02T16:40:43","guid":{"rendered":"http:\/\/hjacob.com\/blog\/?p=346"},"modified":"2009-09-02T18:45:44","modified_gmt":"2009-09-02T16:45:44","slug":"performance-bug-im-firefox-3-5-2","status":"publish","type":"post","link":"https:\/\/hjacob.com\/blog\/performance-bug-im-firefox-3-5-2\/","title":{"rendered":"Performance Bug im Firefox 3.5.2?"},"content":{"rendered":"<p>Wie es scheint, hat der aktuelle Firefox ein paar Probleme mit dem internen Cache. Da ich einige CSS Sprites verwende, benutze ich eine leere GIF Grafik (<i>blank.gif<\/i>) als Platzhalter f\u00fcr die einzelnen Sprite-Elemente. Schaue ich mir nun das Netzwerkprotokoll von Firebug an, taucht dort das blank.gif immer wieder auf und anstatt die bereits geladene Datei zu verweden, l\u00e4dt er die Datei immer wieder aufs Neue herunter, was nat\u00fcrlich die gesamte Renderzeit der Page stark verlangsamt und das obwohl es sich nur um eine super kleine 1&#215;1 Pixel Grafik handelt. Bei einem Reload samt Not-Modified Status der Grafiken verarbeitet der Firefox die Grafiken korrekt.  <\/p>\n<p><!--more Firebug &amp; Dragonfly Screenshots --><\/p>\n<h2>Screenshots<\/h2>\n<div id=\"attachment_347\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-31.png\" rel=\"lightbox-ffbug nofollow\" title=\"Firefox Bug: Im Firebug sieht man, dass die blank.gif mehrmals geladen wird\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-347\" src=\"http:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-31-300x109.png\" alt=\"Firebug Netzwerk Protokoll\" title=\"Firefox Bug: Im Firebug sieht man, dass die blank.gif mehrmals geladen wird\" width=\"300\" height=\"109\" class=\"size-medium wp-image-347\" srcset=\"https:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-31-300x109.png 300w, https:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-31-1024x373.png 1024w, https:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-31.png 1031w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-347\" class=\"wp-caption-text\">Firebug Netzwerk Protokoll<\/p><\/div>\n<div id=\"attachment_349\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-51.png\" rel=\"lightbox-ffbug nofollow\" title=\"Werden die Daten allerdings nicht neugeladen (304 Not Modified) wird das blank.gif korrekt verarbeitet.\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-349\" src=\"http:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-51-300x95.png\" alt=\"Werden die Daten allerdings nicht neugeladen (304 Not Modified) wird das blank.gif korrekt verarbeitet.\" title=\"Firebug Protokoll bei gecachten Inhalten\" width=\"300\" height=\"95\" class=\"size-medium wp-image-349\" srcset=\"https:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-51-300x95.png 300w, https:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-51-1024x326.png 1024w, https:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-51.png 1112w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-349\" class=\"wp-caption-text\">Werden die Daten allerdings nicht neugeladen (304 Not Modified) wird das blank.gif korrekt verarbeitet.<\/p><\/div>\n<div id=\"attachment_348\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-41.png\" rel=\"lightbox-ffbug nofollow\" title=\"Dragonfly zeigt an, dass Opera die Dateien korrekt l\u00e4dt (die 304 Anzeige ist allerdings ein Bug)\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-348\" src=\"http:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-41-300x96.png\" alt=\"Dragonfly zeigt an, dass Opera die Dateien korrekt l\u00e4dt (die 304 Anzeige ist allerdings ein Bug)\" title=\"Dragonfly Screenshot\" width=\"300\" height=\"96\" class=\"size-medium wp-image-348\" srcset=\"https:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-41-300x96.png 300w, https:\/\/hjacob.com\/blog\/wp-content\/uploads\/2009\/09\/Bild-41.png 894w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-348\" class=\"wp-caption-text\">Dragonfly zeigt an, dass Opera die Dateien korrekt l\u00e4dt<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>L\u00e4dt Firefox 3.5.2 Dateien die mehrfach auf einer Website verwendet werden unn\u00f6tig doppelt? Eine Spurensuche mit Firebug und Dragonfly Screenshots.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69,70],"tags":[111,106,375],"_links":{"self":[{"href":"https:\/\/hjacob.com\/blog\/wp-json\/wp\/v2\/posts\/346"}],"collection":[{"href":"https:\/\/hjacob.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hjacob.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hjacob.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hjacob.com\/blog\/wp-json\/wp\/v2\/comments?post=346"}],"version-history":[{"count":5,"href":"https:\/\/hjacob.com\/blog\/wp-json\/wp\/v2\/posts\/346\/revisions"}],"predecessor-version":[{"id":354,"href":"https:\/\/hjacob.com\/blog\/wp-json\/wp\/v2\/posts\/346\/revisions\/354"}],"wp:attachment":[{"href":"https:\/\/hjacob.com\/blog\/wp-json\/wp\/v2\/media?parent=346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hjacob.com\/blog\/wp-json\/wp\/v2\/categories?post=346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hjacob.com\/blog\/wp-json\/wp\/v2\/tags?post=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}