I am going through an old ASP.NET app and turning off ViewState for Gridviews where it's not needed. This is reducing the amount of information sent to the server on postback, but I am curious how much.
In FireBug, I can go to the Net tab, apply the HTML filter, and expand the particular aspx file that got posted. Beneath that, I can click the "Post" tab, and one of the values it shows is the Content-Length of the post. (I had some pages uploading 4 megs on postback... YIKES!).
Does anyone know how to see this value in the Chrome developer tools?
To view the request or response HTTP headers in Google Chrome, take the following steps : In Chrome, visit a URL, right click , select Inspect to open the developer tools. Select Network tab. Reload the page, select any HTTP request on the left panel, and the HTTP headers will be displayed on the right panel.
The simplest way to analyze the payload is to enable the network-monitoring tool of the browser, and capture the network traffic of HTTP requests. With this tool you can see: how many HTTP requests the browser is sending to the server.
As of Chrome 10, they've added the feature! It's Content-Length
under the Request Headers
section in the Headers
tab. This tab is available when you select Network
from the toolbar and then click on a file.
I'm going to pretend they did this because I filed the feature request. I changed the world!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With