Closed Bug 29536 Opened 25 years ago Closed 24 years ago

resource: protocol needs to use memory cache

Categories

(Core :: Networking: Cache, defect, P3)

All
Other
defect

Tracking

()

VERIFIED DUPLICATE of bug 41268

People

(Reporter: warrensomebody, Assigned: pnunn)

References

Details

(Keywords: perf, Whiteboard: [nsbeta3+] 1d)

I think the file transport needs to make use of the memory cache before hitting up the disk for the file in question. The nsIChannel::FORCE_RELOAD flag should be hooked up to bypass the memory cache too.
Target Milestone: M15
Marking beta2.
Keywords: beta2
m16
Target Milestone: M15 → M16
Moving to M17 which is now considered part of beta2.
Target Milestone: M16 → M17
Whiteboard: 1d
As I think about this, it probably should only be done for the resource: protocol. That way things like the throbber images come out of the memory cache, but not arbitrary files that are being accessed. The FORCE_RELOAD stuff is still needed. Changing summary from "file transport needs to use memory cache" to "resource: protocol needs to use memory cache". Also I don't think this is a beta2 requirement -- it's a perf thing.
Keywords: beta2perf
Summary: file transport needs to use memory cache → resource: protocol needs to use memory cache
Target Milestone: M17 → M18
stop the spam
Status: NEW → ASSIGNED
David has left netscape and davidm@netscape.com is an invalid email address. Assigning his five remaining bugs to gagan to find a new owner for them. Thanks
oops i didn't actually reassign to gagan last time. sorry for the spam
Assignee: davidm → gagan
Status: ASSIGNED → NEW
dawn: neeti is our cache incharge now.
Assignee: gagan → neeti
Keywords: nsbeta3
Status: NEW → ASSIGNED
Depends on: 46045
warren: what do you feel about this? (I would let you make the call on the nomination for this)
I think the file: protocol (used by resource:) should be augmented to use the memory cache -- if for no other reason than to allow imagelib to cache the throbber images. I think that's the best solution for it since it holds the image in memory in a compressed format -- saves space and time. Marking nsbeta3+.
Whiteboard: 1d → [nsbeta3+] 1d
Throbber images should come from imgcache. Let me talk to Pam before I close this out if that the case.
dp: I'm working on putting chrome animations in the image cache as we speak. -p
--> Pam
Assignee: neeti → pnunn
Status: ASSIGNED → NEW
....annnnnd its a dupe of 41268. *** This bug has been marked as a duplicate of 41268 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verif. dup
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.