attachment caching
Categories
(Thunderbird :: Folder and Message Lists, defect)
Tracking
(Not tracked)
People
(Reporter: pkalashnik, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Steps to reproduce:
- открывал вложения на win 7 буревестник 60.3. IMAP сервер Zimbra
- открывал вложения win 8.1 или win 10 64 буревестник 60.3.1 IMAP сервер Zimbra
Actual results:
- вложения открываются с ожиданием в 1-2 секунды
- вложения открываются с ожиданием в 3-15 секунд
Expected results:
вложения должны открываться с одинаковым ожиданием.
Comment 1•7 years ago
|
||
Sorry, the language here is English.
Steps to reproduce:
opened the attachments on win 7 petrel 60.3. Zimbra IMAP server
opened attachments win 8.1 or win 10 64 petrel 60.3.1 IMAP server Zimbra
Actual results:
attachments open with a wait of 1-2 seconds
attachments open with a wait of 3-15 seconds
Expected results:
attachments must open with the same expectation.
Comment 2•7 years ago
|
||
Reporter Pavel, Are you saying the difference is due to tb 60.3 vs. tb 60.3.1? Have you tried 60.3.1 on win7? Maybe it will be slower too compared to win8.1 and win10?
But maybe the translation to English is misleading. So, if possible, please clarify.
Also, need to know if the folder (mailbox) you are opening the attachments from is synchronized for local storage (also called offline storage)? Right-click the folder and look under "Properties" and then look at the "Synchronization" tab to check this. By default, this will be enabled.
Hello colleagues. No matter what version to use, the default synchronization is. just the feeling that in win 8.1 and win 10 is not cached or inbox is not synchronized.
Did you watch the video sent by me? there are identical versions.
Comment 5•7 years ago
|
||
I thought the files were example attachments. Are they video screenshots of fast vs. slow? Haven't tried to download or open them.
one video with win 7, another with win 10 and it shows win7 quickly opens, and win 10 is slow.
I specifically took the same letters with the same attachments.
Comment 8•7 years ago
|
||
Thanks. I haven't looked at them yet but can you tell me the type of attachment (.jpeg, .docx, .pdf etc.) and how big they are?
| Reporter | ||
Comment 10•7 years ago
|
||
such a situation, colleagues. JPG files open immediately, no matter what size.
Comment 11•7 years ago
|
||
Ok, I watched the videos and see what you mean. Tb on win7 definitely seems to open the pdf files much faster! However, are you sure that the difference might not be the Adobe Acrobat Reader application? Have you tried saving the same pdf on win7 and win10 and opening the file directly with the Adobe Acrobat Reader app? If they open with the same speed then it seems that the problem is with thunderbird; otherwise, the problem is with Adobe Acrobat Reader app.
You say large jpg files open fast from thunderbird on both systems? All thunderbird does to open any attachment is decode the base64 email content to a binary file and then passes that to the appropriate application. So if JPG files open fast and pdf open slowly, it would seem that the problem is the external application that runs the file, the pdf Reader.
So please check that the speed of opening a large pdf file on win7 and win10 using Adobe Acrobat Reader is the same or differs.
| Reporter | ||
Comment 12•7 years ago
|
||
hi, pdf open equally fast in all versions of windows
Comment 13•7 years ago
|
||
I will try this on win10 and win7 as soon as my backup finishes on the win10 computer (usually running linux). Another possibility, is do both win10 and win7 systems use offline storage to disk? If pdf is stored to disk on one system and and always fetched from server on the other there will be a speed difference.
Also, on the slower win10 system, if you immediately open the pdf a 2nd time, is it faster? Or is it always slow each time you open the attachment?
Comment 14•7 years ago
|
||
Tried it on win10 running 60.3.3 32-bit version and I see no problem with the speed of opening a pdf 962KB. About the same on win7 running 60.5.0 32-bit.
I tried it on win10 and win7 even without offline storage and I don't see any difference even when it has to get the file from the imap server. However, if the network is slow there will be a difference, I'm sure.
However, since the email and attachment are cached to memory when there is no offline storage, it will typically be faster the 2nd time you open the pdf no matter what.
So check to be sure you are using offline storage for the folder containing the PDFs. Right click on the folder and look at properties. Then under synchronization tab check if "Select this folder for offline use" is checked. If not checked, try checking it and then click the "Download Now" button; this will store the folder content to disk for possibly faster access.
If this doesn't help, I might suggest installing the 32-bit version and see if that makes it faster. I use 64-bit on linux and it seems OK but I rarely use windows so I only have the 32-bit version of tb installed on win7 and win10 test computers.
Comment 15•7 years ago
|
||
Sorry, I see in comment 3 you say you are synchronized so you should have local storage to disk. You can check on windows that you have the storage file by looking at this path (probably different in your language):
c:\Users\pavel\AppData\Roaming\Thunderbird\Profiles\skdfjf.default\ImapMail\<Your account name>\
You should see a file <folder name>.msf and a file <folder name>. <folder name>.msf is always present. But if the file <folder name> is missing or its date is old then it is not used and you are not synchronized. It contains all the emails and attachments for the folder.
The attachments are typically in base64 so to open the pdf, tb must decode the base64 into a real pdf file that adobe can open. I guess it's possible that the combination of win10-64-bit and tb-64-bit is somehow slower in doing this decode so the open of the pdf takes longer. But, as far as I know, you are the only user reporting this.
| Reporter | ||
Comment 16•7 years ago
|
||
Hello, pdf open equally quickly in all versions of windows! Yo man !!! I found a bug.
| Reporter | ||
Comment 17•7 years ago
|
||
| Reporter | ||
Comment 18•7 years ago
|
||
and so, turn off the LAN and everything opens fast !!!!! and if you stick the LAN - downloaded from the server and of course everything is very long !!!! I fucking mozilla bug !!!! now the question? How to do it in the settings, so that when the network is connected, the conversion goes to caching the attachment ???
| Reporter | ||
Comment 19•7 years ago
|
||
how to set up so that the call goes first to the cache of attachments, but not to the server????? help me please!!!!
Comment 20•7 years ago
|
||
Win10/tb is fast opening PDF when you disconnect the LAN?
OK, why is there only 1 folder shown the win10.jpg? Is that the "Inbox". Do you have other folders?
Also, compare it to the win7 list of folders that can be synchronized. Does win7 show more than 1 folder in the list.
Note: The win7.jpg doesn't show what any list. So you didn't click the "Advanced" button to show it I think.
Don't know what the "bug" is yet or if there is a bug.
Comment 21•7 years ago
|
||
Is this true for every pdf or just the one you show in the video?
Also, is this true for every folder or just the "Inbox" folder?
Possibly this is just a corrupted folder that needs "repair". You can right-click the folder and choose "Properties" and then click the "repair folder" button. This will clean-up the links in the <folder-name>.msf file and also re-download all your emails in the folder into the <folder-name> file which acts as the email and attachements disk cache.
| Reporter | ||
Comment 22•7 years ago
|
||
Hi, it's not in the folders. See what else you found. when there is full access to the Internet, it opens quickly, and when not full access, it opens slowly.
Comment 23•7 years ago
|
||
I cannot duplicate the problem.
Did you try the "repair folder" like I suggested?
| Reporter | ||
Comment 24•7 years ago
|
||
Yes, I tried to restore the folder - there are no changes.
Comment 25•7 years ago
|
||
Ok, you said "restore the folder". I assume you really "repaired" the folder by right-click on folder, select "Properties" and then click the "Repair folder" button? (Just want to be sure since there may be language issues.)
So let me state the problem again: With LAN turned on, win7 accesses the PDF is fast but win10 it is slow. When you turn off the LAN, access is fast on both. Repair (restore) of the folder didn't help.
Try this on only win10 and let me know the result: Turn LAN on in win10. In TB, make sure PDF access is still slow. Then in TB, go offline. (You can go offline using the icon at the lower left corner or using a menu item.) You will be prompted to download messages now so the files are available offline. They probably already are available but go ahead and click download. Now check the PDF speed. Is the speed now fast on win10?
Now, click the icon (or use the menu) to go back online. Check the PDF access speed. Is PDF access speed fast or slow now in win10?
Comment 26•7 years ago
|
||
Pavel, If there is still a problem then you need to record an IMAP log for me to look at. Details on thunderbird logging can be found here: https://wiki.mozilla.org/MailNews:Logging#Windows
Run TB on win10 using the batch commands as described (not the normal way by clicking on the TB icon!). Then access the PDF and let it finish. Then shutdown TB and find and attach the IMAP log file that should be on your Desktop now.
You may want to edit any private or personal information from the file before attaching it using the "Attach File" link above. (Please don't just paste the file in the comment since it can be quite large.)
Comment 27•7 years ago
|
||
Pavel, One more thing. When you access the PDF, TB ideally should not go out on the network to fetch it since you have accessed it before. It should already be in "offline storage" which is a disk file. So in the IMAP log I should, ideally, see no fetch of the PDF. I think we need to verify this before moving on.
| Reporter | ||
Comment 28•7 years ago
|
||
ok, I'll try to do it
Comment 29•7 years ago
|
||
(In reply to Pavel from comment #28)
ok, I'll try to do it
Updated•6 years ago
|
Updated•6 years ago
|
Description
•