Topic: Roundcube mail... and using a databse cache for messages.... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=29544" title="Pages that link to Topic: Roundcube mail... and using a databse cache for messages.... (Page 1 of 1)" rel="nofollow" >Topic: Roundcube mail... and using a databse cache for messages.... <span class="small">(Page 1 of 1)</span>\

 
paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

IP logged posted posted 09-19-2007 12:51 Edit Quote

Hi guys.. this may seem a bit of a tall order but I was wondering if anyones done this beforeor has any idea on how to get this done. I'm tweaking roundcube mail and frankly I noticed that it used the database cache as.. well just a database cache and deletes the whole cache and refills the database entires whenever you do something like viewing a mesage to changing flags and status of them. It only retrives the messages form cache when it wants to you know just for sorting messages but every time you chick on a message or move a message it deltees the whole cache and downloads the message form the mail server.

Now I know roundcube is IMAP but has anyone got an idea to get roundcube to use the database cache as a permanent store? And just download newer messages and use the local database as storage repositary.. doesn't seem to make much sense to me to use the cache just for sorting message headers....

paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

IP logged posted posted 09-23-2007 08:53 Edit Quote

Anybody got A N Y tips on how this can be accomplished.. please do share man

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 09-23-2007 09:08 Edit Quote

The caching for sorting makes sense because some mailservers don't support 'server side sorting' (which speeds up things *tremendously *, as least for SquirrelMail).

Honestly, I don't see a reason for such a cache otherwise at all - at least not with the logic you describe.
But I suspect getting it to do a real 'cache refresh' instead of a 'cache reload' when something new comes in, etc,
will be a lot of trouble - you need to update everything in two positions (or at least have a mechanism that says 'reload this mail'),
and do that on anything that change's a messages status...

there is no easy cut solution for this - you'll need to dig deep in roundcubes code.



Post Reply
 
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
 
Your Text:
Loading...
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu