on 03-31-2006 7:14 AM
Dear All,
We have developed BSP Page for Order Capture. In this Page we have nearly 38 line items. We are accessing this Page through Portal. But After saving as a .html file, we checked the size of that Page, its nearly coming 156KB. Can we reduce the size of that Page to nearly 50-100KB.?
If Yes..How do we.
Pl suggest Us.
Rgds
PRAdeep
Are you concerned about the transmission size over the network (in which case compression will help). In this instance measuring the page size after a save isn't necessarily the size that will be transmitted over the network.
Or are you more concerned about the size because user's are saving the data offline? In that case there are other measures you can take.
Can you please describe the page and your needs a little futher.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas
Sorry for the late reply.
Through our BSP Page, user will enter the orders, and it will create sales order in R/3. In our BSP page, there is only one inputfiled for user input.
If u look at the rendered html page, size will be very huge..nearly 150kb. We need to reduce the size of that file(html).
We have not used any images also. but still its 156kB.
If the file size is heavy...then normally page will be very slow right?
Kindly suggest us.
Rgds
Pradeep
Hi,
You don't specify if you're using HTMLB or plain HTML.
Is there an issue in having larger files?
Eddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
HTMLB renders a bit larger files than plain HTML. It depends a bit on the things you want to do with it. If you don't want specific HTMLB featurs, you might want to switch to minimalistic HTML.
But you can setup compression on in the application.
There are two methods to achieve this. Select the properties of a BSP page and you can set the compression check box on in the tranmission options (nearly at the end).
Another way is to do this via ICM. For more info on that and considerations on the methods, pls check
/people/brian.mckellar/blog/2003/10/23/bsp-trouble-shooting-frequently-asked-short-questions
Eddy
Hi Eddy
I tried what u have suggested, but still the page size is same. Fortunatly when i was browsing, i found there are some other tools to compress the html pages...its really reduceses the page size nearly 80%. but how do i incorporate to the BSP page after or before rendering.
Help appreciated.
rgds
Pradeep
Hi Pradeep,
if you want to achieve lesser network traffic you can turn on compression of your BSP. There is a checkbox in the definition of the controller (in MVC).
If you set the checkbox to true the transferred pages will be gziped by the server and unzipped by the browser.
To check the differences you will have to do some network analysis with a sniffer like ethereal.
Something else you can do is let the WebAs cut all the CR/LF and unnecessary white spaces. This will reduce the actual file size.
Hope this helps...
Kind regards,
Alex
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.