Controlling the size of generated code
Some supported features increase the size of the generated
code. If you do not use a feature such as display formatting, validation
rules, or client-side scripting, you can enhance performance by
preventing the server component from generating code for the unused
feature. You can turn these features on or off on the Web Generation
property page in the DataWindow painter or in a script. For more
information, see “Controlling what is generated “.
You can also cache client-side methods in JavaScript files
to reduce the size of the generated code and increase performance
on both the server and the client. Without JavaScript caching, each
time a Web DataWindow is rendered in a client browser, JavaScript
code for DataWindow methods is generated on the server and downloaded
to the client. When you set DataWindow properties to reference cached
JavaScript files, the methods defined in the files are not generated
with the HTML in any Web DataWindow pages that are sent to the page
server (and client browser).
For more information, see “Using JavaScript caching
for Web DataWindow methods”.