Closed Bug 100719 Opened 23 years ago Closed 23 years ago

Same image loaded repeatedly, cache seems to be useless

Categories

(Core :: Graphics: ImageLib, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: inactive-mailbox, Assigned: asa)

References

()

Details

The following is seen with both cache settings set to "automatically" and "once per session". Make sure you don't use a proxy. Go to the above URL. It shows a table with many small cells, showing repeatedly the same images multiple times. At least 3-4 images in the middle in every row reference the identical URL. While the page loads, I see the small images appearing slowly, the are drawn for each table line separately. This happens so slowly, it makes me believe, the cache is not used. I used a network sniffer tool, and I see that while each row of images is drawn, another ~20 KB are transferred over port 80. Expected behaviour: - each image appearing on page is requested from the web server only once - for each unique image on page, once it is loaded over the network, all its appearances on the page should be drawn nearly simultaneously.
Duplicate of bug 78019? If this happens on (shift-)reload only, this is probably a duplicate of bug 79020.
I see this when I start a new session and load the page for the first time in the session.
what version of mozilla are you using? page loads soo fast, i can't see it.
Component: Browser-General → ImageLib
Okay, I found the problem. I see this problem only with one profile, and in the prefs.js there is the following line hanging around. user_pref("browser.enable.cache", true); No idea how this could end up there. If I remove the line, it works very fast as expected. New created profiles don't have that line. Marking invalid.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
err, this is the working line, when it was slow, the entry said "false".
You need to log in before you can comment on or make changes to this bug.