You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dave <ja...@yahoo.com> on 2009/07/02 05:20:49 UTC
[trinidad] wap: response more than 250K
Hello,
We use trinidad 1.2.11 for WAP. From Nokia S60 5th Edition emulator, the response size is more than 250K for a very simple page. I expected it to be less than 30K.
Why is the response so large? it is not suitable for WAP. It has javascript and style sheets. They should be tiny for WAP. How to make it smaller?
Thanks,
Dave
Re: [trinidad] wap: response more than 250K
Posted by Luka Surija <lu...@iytim.hr>.
Maybe this setting should be configurable in trinidad-config and not
"hard coded"?
Luka Surija
+385 1 61 99 140
+385 98 434 061
luka@iytim.hr
I.Y. tim d.o.o.
Vrbik 3, HR-10000 Zagreb
www.iytim.hr
info@iytim.hr
Mamallan Uthaman wrote:
> Hi Dave,
>
> With respect to mobile browsers, Trinidad sends a JavaScript file in
> its response only if the requesting mobile-browser supports
> JavaScript. Nokia S60's browser is a Webkit browser, Safari. To
> optimally use S60 browser's features like JavaScript and CSS, Trinidad
> sends a style sheet and a JavaScript file in its response for S60's
> requests.
>
> You can observe that Trinidad considers Nokia S40 browser as a basic
> HTML browser (No JavaScript support). Thus, no JavaScript file is sent
> in Trinidad's response for S40's requests.
>
> If you find the performance of S60's browser, Safari, not acceptable
> due to JavaScript, then please raise a JIRA issue to turn off the
> JavaScript feature for S60. JavaScript file will not be sent to S60 in
> Trinidad's response if the JavaScript feature is turned off for S60.
>
> Thanks
> Mamallan
>
>
>
> Dave wrote:
>> Hello,
>> We use trinidad 1.2.11 for WAP. From Nokia S60 5th Edition emulator,
>> the response size is more than 250K for a very simple page. I
>> expected it to be less than 30K.
>>
>> Why is the response so large? it is not suitable for WAP. It has
>> javascript and style sheets. They should be tiny for WAP. How to
>> make it smaller?
>>
>> Thanks,
>> Dave
>>
>>
>>
>
Re: [trinidad] wap: response more than 250K
Posted by Mamallan Uthaman <ma...@oracle.com>.
Hi Dave,
With respect to mobile browsers, Trinidad sends a JavaScript file in its
response only if the requesting mobile-browser supports JavaScript.
Nokia S60's browser is a Webkit browser, Safari. To optimally use S60
browser's features like JavaScript and CSS, Trinidad sends a style sheet
and a JavaScript file in its response for S60's requests.
You can observe that Trinidad considers Nokia S40 browser as a basic
HTML browser (No JavaScript support). Thus, no JavaScript file is sent
in Trinidad's response for S40's requests.
If you find the performance of S60's browser, Safari, not acceptable due
to JavaScript, then please raise a JIRA issue to turn off the JavaScript
feature for S60. JavaScript file will not be sent to S60 in Trinidad's
response if the JavaScript feature is turned off for S60.
Thanks
Mamallan
Dave wrote:
> Hello,
> We use trinidad 1.2.11 for WAP. From Nokia S60 5th Edition emulator,
> the response size is more than 250K for a very simple page. I expected
> it to be less than 30K.
>
> Why is the response so large? it is not suitable for WAP. It has
> javascript and style sheets. They should be tiny for WAP. How to
> make it smaller?
>
> Thanks,
> Dave
>
>
>