Good job Smaitha. BTW in the jira you mentioned there are two points to
solve. You have addressed first issue. What happened to the second point.
(Permission Loading)

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


On Wed, Jul 23, 2014 at 10:50 AM, Samith Dassanayake <[email protected]>
wrote:

> Hi Asanka
>
> Previously it calls ProjectUtils each and every time when the application
> requires type of the application. Since the application type is highly
> unlikely to change I cached the results(app types) based on the tenant
> domain in the session.
>
>
> On Wed, Jul 23, 2014 at 10:40 AM, Asanka Dissanayake <[email protected]>
> wrote:
>
>>
>>
>>
>> On Wed, Jul 23, 2014 at 10:32 AM, Samith Dassanayake <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> As suggested in [1], Instead of calling ProjectUtils(which is a java
>>> class) directly from jaggery layer, I have exposed those methods as OSGI
>>> services and cached the results. This improvement reduced the page load
>>> time of the most of the pages by approximately 100ms.
>>>
>> Good Work Samith, What kind of results you store cache. Can you mention
>> some examples . Caching means those results are stored in session right?
>>
>>>
>>> [1] - https://wso2.org/jira/browse/A
>>> <https://wso2.org/jira/browse/APPFAC-2296>*I h*PPFAC-2296
>>> <https://wso2.org/jira/browse/APPFAC-2296>
>>>
>>> Thanks.
>>>
>>> --
>>> Best Regards
>>>
>>> Samith Dassanayake
>>> Software Engineer, WSO2 Inc.
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>>
>> *Asanka DissanayakeSoftware Engineer*
>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>> <http://wso2.com/>*
>>
>> *email: [email protected] <[email protected]>,   blog:
>> cyberwaadiya.blogspot.com
>> <http://cyberwaadiya.blogspot.com>, asankastechtalks.wordpress.com
>> <http://asankastechtalks.wordpress.com>  mobile: +94 71 8373821*
>>
>
>
>
> --
> Best Regards
>
> Samith Dassanayake
> Software Engineer, WSO2 Inc.
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to