3
Ridiculous page/js caching. 24MB download to load Webmail
Problem reported by Ishan Talathi - 2/4/2019 at 10:29 PM
Submitted
I already have a ticket open for this with no resolution since past 20 days - 1C9-23D07BF8-0007

A single webmail login (via impersonate) and webmail inbox load downloads 24 MB of data, even though we use SmarterMail daily and it should be cached in our browser. Also, these are all blocking JS so customer sees nothing till entire download is complete.

Compare this with Gmail which loads in up 2MB or less. 


It is adding unnecessary network and DISK IO load on our servers and webmail opening delay in our customer machines. We have customers complaining daily about slow speeds.

Is anyone else seeing this issue on SM17/100 ?

5 Replies

Reply to Thread
0
Matt Petty Replied
Employee Post
I was unable to reproduce on Chrome, however, I am seeing the issue on Firefox. We load 2.3mb of Javascript and CSS files. I understand 2.3mb is quite a bit especially every time in the case of Firefox and I have a task to correct this.

I just want to add some context for everyone else, this is specific to Firefox and we don't load 24mb of data, not at the start atleast, as you login, view mail, move around your chrome adds up ALL of this and it can add up. 
I produced the below result by going to https://mail.smartertools.com
2.3mb, this is still a lot but NOT 24mb!
Matt Petty Software Developer SmarterTools Inc. (877) 357-6278 www.smartertools.com
1
Ishan Talathi Replied
Hello Matt,
I clearly mentioned the steps I followed to get 24 MB. I have been able to recreate it multiple times and have shot a video which I will send in the same ticket.

Open login page, enter login details and wait for first mail to show up. This needs 55 seconds to load and takes 23-24MB (for some reason login page js was cached in this video.)

2 json files of mail and /api/v1/contacts/address-book/mail , each of exactly 9.78MB are downloaded. Total of these 2 files itself is 19.56MB. 

Why does loading the first mail or first few emails need 20MB data downloaded ?

We are based in India, here some users are still on kbps based broadband, not even 1 mbps. SmarterMail v15 was running perfectly on these connections.
0
echoDreamz Replied
Here is ours... Like <2MB
0
Matt Petty Replied
Employee Post
Those address book calls are quite large. How many contacts does the user have? There might be another larger issue with loading those lists, as those are more than 6 times larger in size compared to all the client js,css,etc files.
Matt Petty Software Developer SmarterTools Inc. (877) 357-6278 www.smartertools.com
0
Ishan Talathi Replied
The export of customer's contacts is a 2.5MB csv file. After deleting all contacts in that account (except ~15 or so known ones) , the page load takes 2.6MB . 

Why are the contacts taking 20MB ?

Reply to Thread