Compressed Viewstate
Stable Version 4.0.0
Published on 31 Oct 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
Compressed Viewstate has no consumers.
Weekly Downloads 
Related Components
OutSystems UI Mobile
OutSystems R&D
Create amazing native mobile applications using this fully integrated UI framework for OutSystems, with dozens of UI patterns ready to use.
7364
Google Maps
Labs
Google Maps is a Google Maps Javascript V3 API component, providing Web Blocks and Actions to add interactive maps, markers and directions, along with event driven functionality.
10706
OutSystems UI Web
OutSystems R&D
Create amazing web responsive applications using this fully integrated UI framework for OutSystems, with dozens of UI patterns ready to use.
1280
More from Frederico Sousa
Drag-n-drop Sortable List
Renato Pauleta
Allows to sort elements in list records or table records using drag-n-drop
1368
File Upload And Image Preview On ChooseFile
Frederico Sousa
With this component you can upload any file to the server without the need to use Submit links or buttons. This means you can use this on a page with server validations (and use ajax refreshes to show them) without the need of having 2 different buttons, one to save and one to upload the file. With this, the user only has to click once to save everything, and also you can do the validations to the file right then the user selects it, and not only when he clicks another button. Besides this, the component also can set a preview of the uploaded file (if it's an image) by JS when you upload.
203
IBM Watson IoT
IBM Watson IOT Team
Connector for IBM Watson IoT Hub that allows to receive stream data from devices and to send messages to control devices.