Closed Bug 119049 Opened 23 years ago Closed 21 years ago

saving imap image attachments should use memory cache

Categories

(MailNews Core :: Backend, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 46233

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

when you save an image attachment from the attachment menu, we should try to use the memory cache, if possible. We don't currently get a cache hit because the url we store as the key for the image attachment in the memory cache is different than that constructed for the attachment menu. If possible, we should make the attachment menu url match the mem cache url. (we can't change the mem cache url because it needs to match what libimg uses). The attachment menu url gets chopped off at the part, whereas the mem cache url has "type=image/gif&filename=foo.jpg" appended. We could cons up the url because we know the type and filename but I worry that might be a little fragile, if the imglib url changes format. I'd like to find a way to stay in sync with that, but I'm having a hard time finding the code that's breaking down the url for the attachment menu.
not a dupe of bug 46233 ?
QA Contact: esther → trix
yes, this is a dup, and is fixed. *** This bug has been marked as a duplicate of 46233 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Verified dup.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.