cancel
Showing results for 
Search instead for 
Did you mean: 

Dynpro Network Performance

Former Member
0 Kudos

I have a problem with the performance of a Dynpro application on low bandwidth line (128K with a 256K burst).

After some analysis it is a result of the JavaScript and StyleSheet required for the Dynpro UI Elements. A blank Dynpro page is currently about 600KB with just the .jss & .css files - our target for the low bandwidth sites is a 50KM web page (before compression).

Are there any recomendations on how to reduce the page size?

Of course the .jss & .css will cache for a 24 hour period. However, the helpdesk still gets a lot of calls for the instances when the .jss & .css is not cached. We can't control the customer machines and can't count on the cache.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Roland,

Could you trace via HTTP tunneling or via logs that JS & CSS files are sent in GZip encoded form? This way they are reduced by very high factor.

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam

Former Member
0 Kudos

Valery,

I forgot to mention that we have already turned on gzip compression. The application server provides compression, it is just a configuration. This gets us to a page that is still over 100KB compressed.

The target is for a page that is under 50KB before compression. So that we could compress it down to something around 20KB (compressed target).

Thanks for the suggestion - can you think of anything else?

Roland

Former Member
0 Kudos

Roland,

Sadly, no other optimizations are possible.

WD in desktop browser has quite reach UI, and the size of JS+CSS files is a price for such functionality

VS

Former Member
0 Kudos

What about using jsmin to compress the JS and flumpcakes to compress the css files?

Former Member
0 Kudos

Can you please elaborate?

Armin

Former Member
0 Kudos

Eric probably means replacing variable names (with regard to scope and host methods / objects) to minimal length version (one letter).

I guess that GZip do exactly the same and even better

VS

Former Member
0 Kudos

That's not exactly what I meant but the idea is the same. There is a guide for EP Optimization but I think that many of the ideas would apply here. I'm not a dynpro guy so these are only some thoughts from an outsider. JSMIN is a program that you can download from the internet and it strips out all of the formatting and comments in your code. It basically makes your js files one big long string without removing any of the functionality. Flumpcakes http://flumpcakes.co.uk/css/optimiser/ will do the same for your css files.

If you try it and it works could you post back here with the improvements?

Thanks

swapan_saha
Employee
Employee
0 Kudos

You may be interested in http://www.sapteched.com/usa/edu_sessions/session.htm?id=589 which deals on how end user and application to application can be improved with advanced network solutions as network plays an important role after application is optimized at the server and application layer (gzip compression, css optimizer, etc.). This improvement is achieved with low bandwidth, or high latency or with packet loss.

The presentation is based on a set of blue-prints prepared with network partners. A few of those blue-prints (white papers) are already available at SDN.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/406cc24a-cf60-2a10-58ab-da02fc76...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903ccdbf-3d4d-2a10-bb8d-f12bbcc3...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ecb5a6-3a4d-2a10-77bb-de7f0611...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00aa0f0b-3c4d-2a10-5593-a57beda8...

Thanks,

Swapan Saha

Answers (0)