Active provider: [CompressionProvider]

ViewState size:  bytes.


Optimization: Off

To perform live ViewState optimization tests please follow the instructions below:

Choose a provider to test.
Click on the 'Increase ViewState Size' button to increase the ViewState size.
Click on the 'Toggle optimization'
button to turn the optimization provider On or Off.

View the page source in your browser to confirm that the ViewState size changes dramatically when the optimization is turned on.

ViewState Optimization

Icon WAO ViewState optimization module removes the ASP.NET ViewState data from the rendered HTML code. It provides a performance boost for all types of ASP.NET applications.

Built-in providers:

  • Compression provider (suitable for low-traffic applications)
    • Used to compress the existing data and reduce the ViewState data size. The ViewState is not completely removed, but is much smaller in size.

  • Cache provider (suitable for mid-scale to large-scale applications)
    • Used to move the ViewState data from the rendered page to the ASP.NET cache.

  • Disk provider (suitable for mid-scale applications)
    • Used to move the ViewState data from the page to server disks.

  • SQL provider (suitable for larger applications and Web farm scenarios)
    • Used to move the ViewState data from the page to the SQL server.

All ViewState providers can be dynamically switched on and off using the configuration settings in the web.config file - more details are available in sections describing each of the built-in providers.

You don't have to make any changes in the source code of your applications to reap the benefits of our optimization modules!


We recommend using   to perform tests that are described on this page.