OutSystems Forge 日本語データベース

Compressed Viewstate

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2016-11-14 1.0.0 Frederico Sousa 10.0.105.0 All All Widgets
このコンポーネントは、ページの圧縮されたビューステートのサイズを計算します。 ウィジェットをページのどこかにドラッグしてサイトプロパティをtrueに変更するだけで、ページを読み込むたびに圧縮されたビューステートのサイズを画面上ですばやく確認できます。
サービスセンターに行って、サイトプロパティ "ShowCompressedViewstate"をtrueに変更して表示されるようにしてください。 このコンポーネントは、ページの圧縮されたビューステートのサイズを計算します。 ウィジェットをページのどこかにドラッグしてサイトプロパティをtrueに変更するだけで、ページを読み込むたびに画面上に圧縮されたビューステートサイズをすばやく表示することができます。 それが5kbを下回る場合は、それ以上に上手くいくはずです。アウト・システムのベスト・プラクティスに基づいてページを調整する必要があるかもしれません。 非常に基本的には、あなたのページのviewstateは、リクエストに応じてサーバがあなたのページについて知る必要がある情報なので、リクエストを送信していないページからのアクション(準備を除く) (入力またはクエリ/アクションをリフレッシュすることによって) サーバーに対して行うすべての要求で、圧縮されたビューステートを送信する必要があります。サーバーは要求を処理する前に圧縮解除し、最後に圧縮してクライアントに送信する必要があります。したがって、要求が長くなるほど。

[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.
戻る