Compressed Viewstate

Stable Version 4.0.0 (O11)
Also available for 10, 9
Published on 31 October 2018 by 
Created on 14 November 2016
Details
Monitoring the size of the viewstate is very important because the viewstate is sent to the server and client on every (ajax) request. This component calculates the size of the compressed viewstate of your page and displays the size of it. 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. In this new version the display of the size of the viewstate is automatically refreshed after every ajax request.
Read More

Be sure to go to service center and change site property "ShowCompressedViewstate" to true so that it's shown.

Monitoring the size of the viewstate is very important because the viewstate is sent to the server and client on every (ajax) request.

This component calculates the size of the compressed viewstate of your page and displays the size of it.

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.

In this new version the display of the size of the viewstate is automatically refreshed after every ajax request.

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.

What’s new (4.0.0)

Upgrade to OutSystems 11

Reviews (0)
Category
UI & Widgets, Reporting
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Frederico Sousa who created this component.
Dependencies
Compressed Viewstate has no dependencies.
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
All
Component Consumers
No consumers yet.
Weekly Downloads 
Related Components
More from Frederico Sousa