[trinidad] wap: response more than 250K

View: New views
3 Messages — Rating Filter:   Alert me  

[trinidad] wap: response more than 250K

by Dave-53 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

by Mamallan Uthaman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

by Luka Surija :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...

I.Y. tim d.o.o.
Vrbik 3, HR-10000 Zagreb
www.iytim.hr
info@...



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
>>  
>>
>>
>