Closed Bug 487883 Opened 16 years ago Closed 14 years ago

Image not properly cached, in disk but have 0 bytes (page info or properties)

Categories

(Firefox :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: torres.dark, Unassigned)

References

()

Details

(Keywords: perf, qawanted, Whiteboard: [CLOSEME 2011-1-30])

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a1pre) Gecko/20090410 Minefield/3.6a1pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a1pre) Gecko/20090410 Minefield/3.6a1pre I clicked on one single image on imagefap and got this. What I see here: 1. The image is in disk cache but it has 0 bytes. 2. The image is not in memory cache (not shown on pic) 3. It's not a cache collision because cache collisions are marked as (not cached) in "page info" 4. In page info the image is shown immediately (not from network). I'm guessing it's from decoded-image cache. 5. After highlighting the url and pressing enter, the image reloaded from network but was put in disk cache correctly this time around. Reproducible: Sometimes Steps to Reproduce: 1.open link: http://imagefap.com/gallery/1594591 2.open some images 3.one of them will show 0 bytes on properties or page info (it's random) OR 1.install mondofap script to greasemonkey: http://userscripts.org/scripts/show/15603 2.load the link (all images will load in one page) 3.open page info and go to media tab 4.images have 0 bytes Actual Results: Images load correctly but have 0 bytes Expected Results: Images should show the correct size
Attached image image showing the bug (deleted) —
Depends on: 120809
Version: unspecified → Trunk
Could really use reliable (not random) steps to reproduce.
Keywords: qawanted
I tested twice now with mondofap steps and it reproduces consistently. Tried even with another gallery. " 1.install mondofap script to greasemonkey: http://userscripts.org/scripts/show/15603 2.load the link (all images will load in one page) 3.open page info and go to media tab 4.images have 0 bytes " but if you open image one at a time it's is random.
Yeah, ideally I'd like something where the images are opened one at a time. The greasemonkey thing is nondeterministic, because the loads race against each other.
Keywords: perf
I forgot to say that I use another script: direct images ++ http://userscripts.org/scripts/show/3923 It replaces the page with the image with the image directly. (When you click some image in the gallery it opens the image, not the page with it.) I noticed: -With script, NO images show 0 bytes (one at a time) -Without script (normal usage), randomly some images have 0 bytes (page info or properties) Opening one at a time, at least half of them showed the bug (0 bytes). Another thing, with script sometimes (random) images have the title "getimg.php" instead of the correct name. Correct link: "http://cdn-nl3.imagefap.com/41a/full/201/2016973760.jpg" Wrong (getimg) link: "http://77.247.179.161/full/getimg.php?img=146174340.jpg" Both of them shows only image, not pages. And both of these links are from the script. Don't know if that helps but if you need more tests or something just ask ;)
Please also see bug 502563 for additional steps to reproduce
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode or a fresh profile? If not, please close. These links can help you in your testing. http://support.mozilla.com/kb/Safe+Mode http://support.mozilla.com/kb/Managing+profiles You may also wish to try with the latest Firefox 4 beta, http://www.mozilla.com/en-US/firefox/all-beta.html.
Whiteboard: [CLOSEME 2011-1-30]
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: