phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] how to re-establish IMAP stream (other cac


From: Tony (Angles) Puglisi
Subject: Re: [Phpgroupware-developers] how to re-establish IMAP stream (other caching is in)
Date: Tue, 18 Dec 2001 09:10:49 +0000

Caching of server data (currently namespace and folder list) is coded, I'll 
commit
when I get to work tomarrow.

You'll see an option on the email preferences page "cache server data whenever
possible", check that to enable it.

If you only use phpgw email app you are fine because it expires the cache if the
dcom class reports that the user (you) added, deleted, or renamed a folder(s).

If you have public folders or for any reason the folder list may change outside 
or
your own doing, uncheck that option "cache server data whenever possible" and 
do 1
email request (page view) and your cache is gone. Then you can re-enable it.

This is first-pass code but it does seem to speed things up quite a bit.


Lars Kneschke (address@hidden) wrote*:
>
>> address@hidden schrieb:
>> So far I can do all of that EXCEPT actually re-establish the stream.
>> I've screwed around with some fsockopen and pfsockopen calls but I
>> can't get this to work. around with some fsockopen and pfsockopen calls
>> but I can't get this to work.
>
>I think this can't work this way. There is now way for you to know, that
>same http-process handles your next page request. And i don't think that you
>can easily take over socket from another process. Also if your are using php
>as cgi, the process which ownes the socket, dies after the page deliverd to
>the browser. But i don't know this really. THis are just some ideas... :)
>
>What we would need, is a php-application server which runs for ever in the
>background. This server could do such things.
>
>Cu
>
>
>_______________________________________________
>Phpgroupware-developers mailing list
>address@hidden
>
--
that's "angle" as in geometry





reply via email to

[Prev in Thread] Current Thread [Next in Thread]