2016-11-14
1.0.0
Frederico Sousa
10.0.105.0
All
All
Widgets
[Overview]
This component calculates the size of the compressed viewstate of your page. Just drag the widget to somewhere on your page, change the site property to true, and everytime you load your page you'll be able to quickly see on your screen the compressed viewstate size.
[Detail]
Be sure to go to service center and change site property "ShowCompressedViewstate" to true so that it's shown.
This component calculates the size of the compressed viewstate of your page.
Just drag the widget to somewhere on your page, change the site property to true, and everytime you load your page you'll be able to quickly see on your screen the compressed viewstate size.
If it is anywhere below 5kb, you should be fine, higher than that, you probably need to do some adjustments to your page based on outsystems best practices.
VERY BASICALLY, the viewstate of your page is whatever information the server needs to know about your page on every request, so, basically, whatever info that any action (except the preparation) needs from your page that you aren't sending on a request (either by inputs or by refreshing queries/actions)
In every request that you do to the server, you have to send the compressed viewstate with it, the server has to decompress it before treating the request and compress it again to send to the client on the end, so, the bigger it is, the longer any request will take.