On 8/15/06, Lindholm, Greg <[EMAIL PROTECTED]> wrote:
I'm upgrading from MyFaces+Tomahawk 1.1.1 to 1.1.4.
I'm using client side state saving.

There is a big increase in page size between 1.1.1 and 1.1.4.
One of my bigger screens went from ~225K to ~700K (over 3x) and most of
my
smaller screens doubled in size.
That's just the page, not counting all the links to images, stylesheets,

javascript etc.

Is this expected?
Did the way client side state saving encoding change to be less
efficient?
Is there any options to reduce the size?

I know there are things I can do to reduce the sizes but this
was as close as I can get to an apples to apples comparison between
1.1.1 and 1.1.4, same apps, same data, only diff was the upgrade.

Can you diff the two outputs and determine where the changes in size
are coming from?

I haven't looked into it, but I think compression can be enabled on
the saveState data (trade bandwidth for cpu usage) with a
configuration option.

One thing you can do in general with client-side state saving is make
sure you only have one form per page.   Each form on the page has to
have its own copy of the saveState data, so I would expect each
additional form declared to add around 100% more characters as
saveState data is typically the largest thing on the page.

Reply via email to