[pLog-svn] Add the cache control to menu
oscar at renalias.net
Mon Feb 25 15:34:33 EST 2008
That's still not bad, but what were the problems that you faced when
turning the structure from an XML_Tree object into a plain array?
On Feb 25, 2008, at 6:16 AM, Mark Wu wrote:
> Hi Oscar:
> In my test, it reduce the total request time from 534 ms to 440 ms.
> It saved almost 100ms in my installation.
> So, I think it worth to try ... :)
> From: plog-svn-bounces at devel.lifetype.net [mailto:plog-svn-bounces at devel.lifetype.net
> ] On Behalf Of Oscar Renalias
> Sent: Thursday, February 21, 2008 4:58 AM
> To: LifeType Developer List
> Subject: Re: [pLog-svn] Add the cache control to menu
> How about some benchmarks? Would you have some time to look into
> generating some benchmarks? Numbers don't lie :)
> On Feb 19, 2008, at 6:59 AM, Mark Wu wrote:
>> Hi All:
>> After review the code, it is not easy to replace the current XML
>> menu with array tree.
>> So, I try to add the cache to XML menu first.
>> 1. The menu cache will cache our core xml menus plus plugins'
>> menus. After lifetype cache it, the menu will load from cache
>> directly until the cache expired or deleted.
>> 2. If the method works, I will add remove cache in plugins centers.
>> Therefore, the cache will removed when we add/remove/refresh the
>> plugins center.
>> If any one of you have time, please kindly test this cached version
>> script, and let me know if it help performance or not.
>> Regards, Mark
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pLog-svn